Boost logo

Boost :

From: Fredrik Blomqvist (fredrik_blomqvist_at_[hidden])
Date: 2003-11-11 18:03:13

Martin Wille wrote:
> Fredrik Blomqvist wrote:
>> or even shorter:
>> std::vector<path> v(directory_iterator(p), directory_iterator());
> That would declare v as a function that returns a path.
> You'd have to add () around one of the arguments to make
> v a vector that is constructed by the two-iterator constructor.
Mental note: "don't write code in outlook.." ;-)


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