[assignment library post review]

Dear All, The post review version can be downloaded from http://tinyurl.com/38c7d Since the review this has changed: 1. insert()/assign() functions has been renamed to reflect which function that is called. So now push_back() is used for vector etc. 2. One header for each standard container. 3. New functions to allow for direct initialization: vector<int> v = list_of(1)(2)(3)(4)(5); map<string,int> m = map_list_of( "Foo", 1 )( "Bar", 2 ); 4. New heavily improved documentation 5. Support for arbitrary functions s.t. new types can benefit from the syntax easily. 6. removal of all half-backed stuff that nobody wanted 7. arguments are forwarded by value instead of const-reference. Reference is a pain to deal with when it comes to string literals. 8. A real test-suite has been added 9. portability has suffered a bit, but that can be solved later. Any comments about docs/implementation are welcome. There is one major isssue we must resolve: What should we call this library. Here are some choices: 1. Initialization library 2. Assignment library 3. Populate library 4. List library I personally would like Boost.List because the library is all about making list for use in various context. best regards Thorsten

"Thorsten Ottosen" <nesotto@cs.auc.dk> wrote:
The post review version can be downloaded from
The link above doesn't work for me. http://groups.yahoo.com/group/boost/files/assignment/ could be used instead. /Pavel

"Thorsten Ottosen" <nesotto@cs.auc.dk> wrote in message news:c9nlu8$8f2$1@sea.gmane.org...
4. New heavily improved documentation In the first example of the tutorial, the last lines are:
BOOST_ASSERT( values[0] == 1 ); BOOST_ASSERT( values[9] == 9 ); shouldn't that be "values[8]" ? -- Truth, James Curran Home: www.noveltheory.com Work: www.njtheater.com Blog: www.honestillusion.com Day Job: www.partsearch.com (note new day job!)

"James Curran" <JamesCurran@mvps.org> wrote in message news:ca2nvg$a2k$1@sea.gmane.org... | "Thorsten Ottosen" <nesotto@cs.auc.dk> wrote in message | news:c9nlu8$8f2$1@sea.gmane.org... | > 4. New heavily improved documentation | In the first example of the tutorial, the last lines are: | | BOOST_ASSERT( values[0] == 1 ); | BOOST_ASSERT( values[9] == 9 ); | | shouldn't that be "values[8]" ? yes, thanks :-) Thorsten
participants (3)
-
James Curran
-
Pavel Vozenilek
-
Thorsten Ottosen