You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When compiling the code with C++ 20 the following error message is
produced:
enumerator value for ‘MEMORY_ORDER_RELAXED’ must have integral or unscoped enumeration type
This is because with C++ 20 the type of those values changed to an enum
class. The `static_cast` extracts the numeric values so they can be used
here as before.
0 commit comments