I\'m trying to construct an object in a map that contains an atomic, so it can neither be copied nor moved AFAICT.
My reading of C++ reference is that map empl
empl
The simplest solution is to use operator[] to construct the value inside the map. Then you can assign a value (or operate on it as needed).
operator[]