
20 Aug
2008
20 Aug
'08
12:35 p.m.
Markus Werle wrote:
And this here fails:
#include <boost/assign/list_of.hpp> #include <boost/assign/list_inserter.hpp> #include <boost/tr1/tuple.hpp>
#include <list>
int main(int argc, char* argv[]) { typedef std::list<std::tr1::tuple<int, std::string> > mod_list_t;
static mod_list_t const l = boost::assign::tuple_list_of(1, "A")(2, "B");
return 0; }
Any hint?
I'm not familiar with boost assign. Could you please provide a test case that does not use boost.assign? Regards, -- Joel de Guzman http://www.boostpro.com http://spirit.sf.net