A program I'm working on seems to have a lot of functions like this in its header files:-
How is that function any different from a regular inline function? i.e. does the empty template<> line add something special?
Code:
template <>
inline std::string to_string (bool val)
{
std::string tmp;
bool_to_string (val, tmp);
return tmp;
}