|
Last change
on this file since 12 was
12,
checked in by landauf, 18 years ago
|
|
added boost
|
-
Property svn:executable set to
*
|
|
File size:
1.2 KB
|
| Line | |
|---|
| 1 | 0. add description of empty () for list_of(), list_inserter. |
|---|
| 2 | 1. add repeat description |
|---|
| 3 | |
|---|
| 4 | 3. docs may mention whether hash_map/set can be used |
|---|
| 5 | as well as upcoming boost::unordered_map/set. |
|---|
| 6 | |
|---|
| 7 | Maybe exotic containers as circular_buffer and/or |
|---|
| 8 | multi index container can be shown in example as well. |
|---|
| 9 | |
|---|
| 10 | 4. update docs wrt member function addresses + std namespace |
|---|
| 11 | 5. update email example to use a local functor |
|---|
| 12 | |
|---|
| 13 | 6: find conversion problem in g++ with nested list_of(). |
|---|
| 14 | 7. add repeat etc to header overview. |
|---|
| 15 | |
|---|
| 16 | 8. Consider optimising generic_list to store only references |
|---|
| 17 | to the object in the list. Even if compound objects are |
|---|
| 18 | stored, then maybe tuples of opetional<T&> can be stored |
|---|
| 19 | and construction deferred until the conversion to a |
|---|
| 20 | container is needed. A special iterator could construct |
|---|
| 21 | the objects on demand |
|---|
| 22 | |
|---|
| 23 | 9. The decay problem should be solved once and for all by something like |
|---|
| 24 | |
|---|
| 25 | template< class T > |
|---|
| 26 | generic_list< decay_array<T>::type > list_of( const T& ); |
|---|
| 27 | |
|---|
| 28 | or decay_traits<T>::type |
|---|
| 29 | |
|---|
| 30 | 10. Consider adding list_of and iterable_list_of to complement each other. |
|---|
| 31 | However, for tight code, list_of<7> works pretty well and provides |
|---|
| 32 | random_access iterators. recursive_list_of(2)(6); |
|---|
| 33 | |
|---|
| 34 | 11. make begin()/end() const members |
|---|
Note: See
TracBrowser
for help on using the repository browser.