The C++ standard specifies that mutex, atomics or conditinal_variable are of standard-layout type.
What is the benefit of this specification? How a user can take advantage of this property?
And in general, what could I gain if a know a type is standard-layout without knowing the detail of its implementation?
You could make your code talk with other programs, written in different Programming Languages than yours.
The ref mentions C++ concepts: StandardLayoutType: