|
Boost : |
From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2004-10-25 13:12:39
| Dear Thorsten,
|
| It was good to meet you finally last week.
yes, nice to meet you too.
| I'm reading through the assign docs and there seem to be some misplaced
| parentheses in the definition of names2 in the preformatted section
following
| the heading "Function list_of()".
|
| I think it should say
|
| const stack<string> names2 =
| list_of( "Mr. Foo", "Mr. Bar", "Mrs. FooBar" ).to_adapter();
actually not; your code above would only add one element. The text below the
example tries to explain how it works.
br
Thorsten
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk