C++ problem

Mikael Hansson EMAIL HIDDEN
Fri May 29 00:36:53 CEST 2009


Jay Vaughan skrev:
>> What am I missing?
>>     
>
>
> list != istream_iterator
>   

But cant this list constructor take istream_iterators?

//Cut from <http://www2.roguewave.com/support/docs/sourcepro/edition9-update1/html/stdlibref/list.html>
template <class InputIterator>
*list*(InputIterator start, InputIterator finish,
      const Allocator& alloc = Allocator());

Creates a list of length finish - start, filled with all values obtained by dereferencing the InputIterators on the range [start, finish).
The list uses the allocator alloc for all storage management.
//End of cut



/Micke



More information about the music-bar mailing list