I think we use something like that in that case:
long(boost::addressof(obj))?
2014-02-18 23:24 GMT+02:00 Paolo Bolzoni
Perhaps using the integer value as address?
On Tue, Feb 18, 2014 at 7:28 PM, John M. Dlugosz
wrote: On 2/18/2014 11:17 AM, Egor Tensin wrote:
Why this works:
boost::lexical_caststd::string((void *) 42UL)
and this throws:
boost::lexical_cast
(boost::lexical_caststd::string((void*) 42UL))
while converting void* to std::string and vice versa works perfectly using std:: streams?
What is converting a std::string object to a void* supposed to mean?
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users