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
I don't know in which std version std::scoped_ptr exists but it does not seem to be part of the STL, if it was part of C++11 then a __cplusplus >= 201103L condition would solve the issue. GNUC only gives the GCC version and does not guarantee the presence of scoped_ptr.
To solve my issue I kept only the auto_ptr typedef.