Re: could list's object be used with (for_each)?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 7, 2011 at 6:44 PM, eric <cneric12lin0@xxxxxxxxx> wrote:
> Dear advanced c++ programers:
>
>  in c++ cook book's example 4-8, it use list's object with algorithm
> for_each, that can not get compiled in my
> g++ compiler.   Is that normal(author's fault) or my g++ side's
> responsibility?
> /* I get some google search, I found most of them use vector
>  * but in its definition , it did not forbid using list, at least
> under my search capability reach so far
>  */
> You can get code from here.
> http://examples.oreilly.com/9780596007614/
>
> [SNIP]
>
Perhaps comp.lang.c++ would be more appropriate for this question.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux