convert bitset to string ??
Posted
by mr.bio
on Stack Overflow
See other posts from Stack Overflow
or by mr.bio
Published on 2010-03-30T12:30:12Z
Indexed on
2010/03/30
12:33 UTC
Read the original article
Hit count: 439
Hi ..
What is wrong with this code ?
set<string> nk ;
bitset<3> bs1(string("100"));
nk.insert(bs1.to_string());
error: no matching function for call to `std::bitset<3u>::to_string()'
why?!
© Stack Overflow or respective owner