Changes between Initial Version and Version 1 of Ticket #10316


Ignore:
Timestamp:
Aug 21, 2014, 8:00:45 AM (8 years ago)
Author:
viboes
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10316 – Description

    initial v1  
    11I would like to be able to do
    22
     3
     4{{{
    35    typedef boost::synchronized_value< boost::container::flat_map<int, int> > ValueIndex;
    46   
    57    ValueIndex index;
    68    index[0] = 1;
     9}}}
     10
    711
    812and would expect that last line to be equivalent to
    913
     14
     15{{{
    1016    auto locked_index = index.synchronize();
    1117    (*locked_index)[0] = 1;
     18}}}
     19
    1220   
    1321