B
Bo Yang
Now, I am reading The C++ Standard Library,
there is one line of code which I can't understand.
template <class 0P1, class 0P2, class 0P3>
inline compose_f_gx_hx_t<0Pl,0P2,0P3>
compose_f_gx_hx (const 0P1& o1, const 0P2& o2, const 0P3& o3) {
return compose_f_gx_hx_t<0Pl,0P2,0P3>(ol,o2,o3);
}
I know what these code intended to do, but I can't understand the
syntax here!
the line begin with inline keyword, why is it there?
Is this syntax standard C++?
there is one line of code which I can't understand.
template <class 0P1, class 0P2, class 0P3>
inline compose_f_gx_hx_t<0Pl,0P2,0P3>
compose_f_gx_hx (const 0P1& o1, const 0P2& o2, const 0P3& o3) {
return compose_f_gx_hx_t<0Pl,0P2,0P3>(ol,o2,o3);
}
I know what these code intended to do, but I can't understand the
syntax here!
the line begin with inline keyword, why is it there?
Is this syntax standard C++?