Boost logo

Boost :

From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2008-08-14 17:05:32

Dear all,

A user of boost.assign was doing the following:

   array<bool, N> temp = list_of<bool>().repeat(N, true);

The problem in this context is that that list_of<T>() inserts a default
constructed element, and that there is no way to avoid that.

I proposed that we use the following syntax:


to say that the initial list is empty.



Boost list run by bdawes at, gregod at, cpdaniel at, john at