Boost logo

Boost :

Subject: Re: [boost] [range] Extended... maybe?
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2009-04-18 23:29:36

Thorsten Ottosen wrote:
> Mathias Gaunard skrev:
>> Thorsten Ottosen wrote:
>>> I think single_element_range(x) has been proposed
>>> several times. Maybe Neil could include it in range_ex?
>> Why not simply use boost::list_of(x)?
> not very efficient.

I don't see any reason why it couldn't be as efficient as

Also, list_of can also be used for to make a range out of n elements.

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