From: Daniel Schlyder (daniel_at_[hidden])
Date: 2005-03-31 01:13:01
> "Daniel Schlyder" <daniel_at_[hidden]> wrote in message
> | Thorsten Ottosen:
| >> I would be worth knowing if the old boost.1.32 code worked with your
| >> compiler.
> | It did. So did CVS dated 2005-03-15 00:00:00Z.
> ok, very good to know.
To be more specific, it's the changes in revision 1.16 of
boost/assign/list_of.hpp that break my code.
I've run into more trouble with the latest library version. Now that I have
to use to_container(), it seems I can no longer use list_of() in function
arguments. Ie., stuff like
menu.push_back<option<unsigned> >("Unsigned Option",
boost::assign::list_of<std::pair<unsigned, std::string> >
boost::bind(set_var<unsigned>, boost::ref(g_unsigned_option), _1)
no longer compiles and I don't see how to fix it without creating a
temporary object before the function call. :(
-- Daniel Schlyder http://bitblaze.com/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk