Subject: [Boost-bugs] [Boost C++ Libraries] #10349: atomic misses specialization for enums
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-08-12 14:56:07
#10349: atomic misses specialization for enums
------------------------------+--------------------------
Reporter: ingo.loehken@⦠| Owner: timblechmann
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: atomic
Version: Boost 1.56.0 | Severity: Optimization
Keywords: enum, atomic |
------------------------------+--------------------------
Maybe there is a reason, that boost::atomic does not support a
specialization for enums and handles them like user-defined types, but
lock-free access to enums would be nice.
I just extended the existing implementation. Ofc, now code is redundant
and functions common to integral and enum specializations maybe moved into
a base class to avoid that.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/10349> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:16 UTC