The C ++ standard indicates that a mutex, atoms, or conditinal_variable are of the standard layout type.
What is the advantage of this specification? How can a user use this property?
And in general, what could I get if I knew the type of a standard layout without knowing the details of its implementation?
source
share