
18 Feb
2014
18 Feb
'14
5:17 p.m.
Why this works: boost::lexical_cast<std::string>((void *) 42UL) and this throws: boost::lexical_cast<void*>(boost::lexical_cast<std::string>((void*) 42UL)) while converting void* to std::string and vice versa works perfectly using std:: streams?