Changes between Initial Version and Version 1 of Ticket #6342
- Timestamp:
- Apr 3, 2012, 6:05:43 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #6342 – Description
initial v1 1 1 The current implementation is doesn't complies completely with c++11 standard 30.4.4 Call once. 2 3 4 {{{ 5 struct once_flag { 6 constexpr once_flag() noexcept; 7 once_flag(const once_flag&) = delete; 8 once_flag& operator=(const once_flag&) = delete; 9 }; 10 }}} 11 12 E.g. 13 14 {{{ 15 boost::once_flag once; 16 }}} 17 18 fails 19 20 and needs 21 22 boost::once_flag once=BOOST_ONCE_INIT; 23 24 In addition one_flag in not copyable. 25