i was reading the bitset class chapter in "the c++ standard library: a
tutorial and reference" by Nicolai M. Josuttis, and came upon such
string bitset<bits>::to_string () const
* this function is a template function that is parameterized only my the
return type. according to the language rules, you must write the foloowing:
b.template to_string<char, char_traits<char>, allocator<char> >()
could someone explain to me what language rule this b.template to_string..
reffers to? i looked in the 'templates' chapter in stroustrup, but could not
find much. perhaps, that's because i dont know what i am looking for.
if the explanation is long and you dont have the time, please let me know
at least where i should look...
thanks very much.