Open
Description
Question on dash::Atomic
:
Why is the copy constructor deleted, but assignment is not?
operator=(T)
is deletedoperator=(const self_t &)
is implicitly defaulted
That can't be right
When I explicitly delete assignment, tests don't compile
Also, the constructor Atomic(T)
is not marked explicit, so it's an implicit conversion constructor
What's the intended semantics here?
The current implementation contradicts the documentation in dash/include/dash/Atomic.h