Skip to content

[libc++][NFC] Remove __default_allocator_type aliases #126066

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

Merged
merged 1 commit into from
Feb 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions libcxx/include/__vector/vector.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,6 @@ _LIBCPP_BEGIN_NAMESPACE_STD

template <class _Tp, class _Allocator /* = allocator<_Tp> */>
class _LIBCPP_TEMPLATE_VIS vector {
private:
typedef allocator<_Tp> __default_allocator_type;

public:
//
// Types
Expand Down
3 changes: 0 additions & 3 deletions libcxx/include/string
Original file line number Diff line number Diff line change
Expand Up @@ -763,9 +763,6 @@ struct __padding<0> {};

template <class _CharT, class _Traits, class _Allocator>
class basic_string {
private:
using __default_allocator_type _LIBCPP_NODEBUG = allocator<_CharT>;

public:
typedef basic_string __self;
typedef basic_string_view<_CharT, _Traits> __self_view;
Expand Down