Boost logo

Boost Users :

Subject: Re: [Boost-users] [assign] Default list_of() behavior
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2010-08-05 12:16:02

Ryan McConnehey skrev:
> None of the examples, for list_of, show the use of the default list_of
> constructor. When I tried to use list_of() for a vector I expected a
> blank vector without any elements. What I found was a vector that had
> one element of the vector type. This element had a default value. Is
> this the correct behavior?

Yes, the upcomming revision will fix this somehow without breaking
exisiting code.


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at