Hello.
Can anyone tell me why you have to explicitly write the template parameters
in the .to_string() method? e.g:
bitset<8> bit(string("11" ));
cout << bit.to_string<c har, char_traits<cha r>, allocator<char> >() << endl;
...
Can anyone tell me why you have to explicitly write the template parameters
in the .to_string() method? e.g:
bitset<8> bit(string("11" ));
cout << bit.to_string<c har, char_traits<cha r>, allocator<char> >() << endl;
...
Comment