Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

P1413R3 Deprecate aligned_storage & aligned_union #2583

Merged
merged 16 commits into from
May 17, 2022
Prev Previous commit
Next Next commit
-clang suppression
AlexGuteniev committed Feb 19, 2022
commit 996e2515c8d0c857fa1d4c5e796e6318da8c0a81
7 changes: 0 additions & 7 deletions stl/inc/xnode_handle.h
Original file line number Diff line number Diff line change
@@ -62,10 +62,6 @@ struct _Node_handle_set_base { // set-specific node handle behavior
}
};

#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
#endif // __clang__
template <class _Node, class _Alloc, template <class...> class _Base, class... _Types>
class _Node_handle : public _Base<_Node_handle<_Node, _Alloc, _Base, _Types...>, _Types...> {
// storage for a node from one of the node-based standard containers
@@ -209,9 +205,6 @@ class _Node_handle : public _Base<_Node_handle<_Node, _Alloc, _Base, _Types...>,
return _Node_handle{_Ptr, _Al};
}
};
#ifdef __clang__
#pragma clang diagnostic pop
#endif // __clang__

_STD_END
#pragma pop_macro("new")