Opened 11 years ago
Closed 10 years ago
#6342 closed Feature Requests (fixed)
c++11 compliance: Adapt the one_flag to the c++11 interface
Reported by: | viboes | Owned by: | viboes |
---|---|---|---|
Milestone: | Boost 1.50.0 | Component: | thread |
Version: | Boost 1.48.0 | Severity: | Problem |
Keywords: | Cc: |
Description (last modified by )
The current implementation is doesn't complies completely with c++11 standard 30.4.4 Call once.
struct once_flag { constexpr once_flag() noexcept; once_flag(const once_flag&) = delete; once_flag& operator=(const once_flag&) = delete; };
E.g.
boost::once_flag once;
fails
and needs
boost::once_flag once=BOOST_ONCE_INIT;
In addition one_flag in not copyable.
Attachments (1)
Change History (6)
comment:1 by , 11 years ago
Description: | modified (diff) |
---|
by , 11 years ago
Attachment: | 6342.patch added |
---|
comment:2 by , 11 years ago
Milestone: | To Be Determined → Boost 1.50.0 |
---|
comment:3 by , 11 years ago
Status: | new → assigned |
---|
comment:4 by , 11 years ago
Summary: | c++11 compliance: Adapt the one_flag and call_once to the c++11 interface → c++11 compliance: Adapt the one_flag to the c++11 interface |
---|
comment:5 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Committed in release branch at [78543]
Note:
See TracTickets
for help on using tickets.
committed diffs in trunk [77767]