
13 Dec
2010
13 Dec
'10
8:45 p.m.
On 12/13/10 12:35, Steven Watanabe wrote:
AMDG
On 12/13/2010 8:02 AM, Philipp Hamann wrote: [snip]
boost::variant
value; void* p; value = p; bool b = boost::get<bool>(value); //OK void* p2 = boost::get (value); //Error It works fine for me with the current trunk. What version of Boost are you using and what compiler?
Works for me too. Apparently changes to boost::vartiant were made after the reference I provided in my reply. The code used to test it is attached after doing `svn update` which gave output: Updated to revision 67223. Sorry for noise of my other post. -Larry