Example #1
0
inline typename result_of::make_line<Segment>::type make_line(const Segment& a)
{
    using line_t = typename result_of::make_line<Segment>::type;
    return line_t(a);
}
Example #2
0
std::vector<line_t>::iterator MV_MenuIteratorByVLine(std::vector<line_t>& file, int vline) {
	return std::find_if(file.begin(), file.end(), line_t(vline));
}