1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
template <int N> struct ivector { template <int r, int c> friend void mult_mv (); }; template struct ivector<3>; template <int r, int c> void mult_mv () { c; } void get_local_point_pos () { mult_mv<7, 3> (); }