Subject: Re: [Boost-users] [boost-users] [assign] std::vector initialisation by boost::assign::list_of
From: Andrey Torba (andreytorba_at_[hidden])
Date: 2010-03-17 15:30:17


On 17 March 2010 17:58, Ovanes Markarian <om_boost_at_[hidden]> wrote:
> vector<int> v(my_iterator(list_of(1)(2)), my_iterator());

I think that result of `list_of` will be destroyed after
`my_iterator(...)` call, so `my_iterator` will not be valid.

-- 
Regards, Andrey