20 Aug 09:21
[tr1] tuple / autoconversion problem
From: Markus Werle <numerical.simulation <at> web.de>
Subject: [tr1] tuple / autoconversion problem
Newsgroups: gmane.comp.lib.boost.user
Date: 2008-08-20 07:24:23 GMT
Subject: [tr1] tuple / autoconversion problem
Newsgroups: gmane.comp.lib.boost.user
Date: 2008-08-20 07:24:23 GMT
> [ignore this line: it makes gmane stop complaining about top-posting] Hi! Trying to migrate existing code from boost::xxx to std::tr1::xxx using the boost::tr1 implementation for Visual Studio 2005 SP1 In the presence of some exotic autoconversion utility the the std::tr1::tuple version of my code fails on vc8. The error messages indicate that the conversion operator is not considered by the compiler. Below is code that fails to compile on vc8 if USE_TR1 is defined Do you have an idea how to fix this? Thanx, Markus ---(Continue reading)snip--- #include <boost/tr1/memory.hpp> #ifdef USE_TR1 #include <boost/tr1/tuple.hpp> #else #include <boost/tuple/tuple.hpp> #endif #include <boost/any.hpp> #include <iostream> namespace Core
Not sure if any fusion experts would have any ideas?
John.
RSS Feed