
20 Aug
2008
20 Aug
'08
1:25 p.m.
Markus Werle <numerical.simulation <at> web.de> writes:
Is it hard work and/or useful to make this compile?
---snip---- #include <boost/tr1/tuple.hpp> #include <boost/tuple/tuple.hpp>
#include <string> #include <list>
int main(int argc, char* argv[]) { typedef std::list<std::tr1::tuple<int, std::string> > list_t; typedef std::list<boost::tuple<int, std::string> > b_list_t;
b_list_t bl; list_t l = bl;
return 0; }
Ooops! Now it is me copyying the wrong stuff, sorry: int main(int argc, char* argv[]) { typedef std::tr1::tuple<int, std::string> tr1_t; typedef boost::tuple<int, std::string> b_t; tr1_t t; b_t t1 = t; return 0; }