
Dear Thorsten, It was good to meet you finally last week. 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(); Best Regards, Jonathan

| 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

"Thorsten Ottosen" <nesotto@cs.auc.dk> wrote in message news:002b01c4babe$3657e8e0$0b40a8c0@nesottolap...
| 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.
Okay, sorry. I got confused.
br
Thorsten
Jonathan
participants (2)
-
Jonathan Turkanis
-
Thorsten Ottosen