Changes between Initial Version and Version 1 of Ticket #10316
- Timestamp:
- Aug 21, 2014, 8:00:45 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #10316 – Description
initial v1 1 1 I would like to be able to do 2 2 3 4 {{{ 3 5 typedef boost::synchronized_value< boost::container::flat_map<int, int> > ValueIndex; 4 6 5 7 ValueIndex index; 6 8 index[0] = 1; 9 }}} 10 7 11 8 12 and would expect that last line to be equivalent to 9 13 14 15 {{{ 10 16 auto locked_index = index.synchronize(); 11 17 (*locked_index)[0] = 1; 18 }}} 19 12 20 13 21