Christian Henning wrote:
Yep, I knew that, even when my code wasn't showing it. ;-) It still doesn't compile an my end and I have no idea why. I have removed all using namespace directives and still no luck.
#include
int _tmain(int argc, _TCHAR* argv[]) { typedef boost::fusion::map< boost::fusion::pair
, boost::fusion::pair , boost::fusion::pair > mymap; BOOST_MPL_ASSERT(( boost::is_same< boost::fusion::result_of::at_key
::type, char&>)); return 0; }
What compiler are you using?
I use VC7.1 and VC8.0 among others. Looks like you are experiencing a preprocessor problem, but I'm not sure. Try Boost static assert instead. Regards, -- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net