Last change
on this file since 12 was
12,
checked in by landauf, 17 years ago
|
added boost
|
-
Property svn:executable set to
*
|
File size:
1.2 KB
|
Line | |
---|
1 | Hi, |
---|
2 | |
---|
3 | ------------------- |
---|
4 | |
---|
5 | 10) Specify difference between assignment from an input_iterator (basic exception safety guarantee) |
---|
6 | and any other iterator (strong exception safety guarantee). Provide a iterator wrapper |
---|
7 | which implement the input_iterator concept to achieve that particular performance characteristic: |
---|
8 | vector.assign( fast_copy_iterator( other.begin() ), other.end() ); |
---|
9 | |
---|
10 | 20) Add two sources and a discussion on defaults: http://www.gotw.ca/gotw/054.htm, http://www.codeproject.com/vcpp/stl/vector_vs_deque.asp |
---|
11 | |
---|
12 | 45) update all functions with correct exception specs |
---|
13 | |
---|
14 | 46) add description to erase() which returns end in some circumstances |
---|
15 | |
---|
16 | 47) Consider if list implemetation of multi-insert can benefit |
---|
17 | from strong exception-safety. |
---|
18 | |
---|
19 | 74) consider simple static assert by nesting a typedef a la |
---|
20 | T::boost_indirect_container |
---|
21 | |
---|
22 | 74.5) a new function in map: auto_type replace( key&, T* );? |
---|
23 | |
---|
24 | 75) toturial: |
---|
25 | |
---|
26 | ptr_map: |
---|
27 | |
---|
28 | add default constructor |
---|
29 | |
---|
30 | map[ "foo" ].set_data( "Bla bla", 6 ); |
---|
31 | |
---|
32 | boost.assign -support: |
---|
33 | |
---|
34 | ptr_insert( ptr_map )( "foo", "bla bla", 3 ) |
---|
35 | ( "bar", "foo", 3 ); |
---|
36 | |
---|
37 | |
---|
38 | |
---|
39 | 76) use boost::get_pointer() to retrieve |
---|
40 | the pointer withint dereferenceing. |
---|
Note: See
TracBrowser
for help on using the repository browser.