refactor(kernel/std): ♻️ rename pragma regions from "Member Functions" to "Constructors"

This commit is contained in:
EnderIce2 2025-05-10 04:17:19 +00:00
parent 6e26184a04
commit fab3be67ee
Signed by: enderice2
GPG Key ID: FEB6B8A8507BA62E
7 changed files with 16 additions and 16 deletions

View File

@ -94,7 +94,7 @@ namespace std
#pragma endregion Member types and constants #pragma endregion Member types and constants
#pragma region Member Functions #pragma region Constructors
protected: protected:
ios_base(); ios_base();
@ -104,7 +104,7 @@ namespace std
virtual ~ios_base() = default; virtual ~ios_base() = default;
ios_base &operator=(const ios_base &) = delete; ios_base &operator=(const ios_base &) = delete;
#pragma endregion Member Functions #pragma endregion Constructors
#pragma region Formatting #pragma region Formatting

View File

@ -163,7 +163,7 @@ namespace std
bool operator!=(const const_iterator &rhs) const { return _node != rhs._node; } bool operator!=(const const_iterator &rhs) const { return _node != rhs._node; }
}; };
#pragma region Member Functions #pragma region Constructors
list() list()
{ {
@ -282,7 +282,7 @@ namespace std
return alloc; return alloc;
} }
#pragma endregion Member Functions #pragma endregion Constructors
#pragma region Element Access #pragma region Element Access

View File

@ -69,7 +69,7 @@ namespace std
#pragma endregion Member Objects #pragma endregion Member Objects
#pragma region Member Functions #pragma region Constructors
locale() noexcept locale() noexcept
{ {
@ -154,6 +154,6 @@ namespace std
assert(!"Function not implemented"); assert(!"Function not implemented");
} }
#pragma endregion Member Functions #pragma endregion Constructors
}; };
} }

View File

@ -304,7 +304,7 @@ namespace std
pointer _ptr; pointer _ptr;
public: public:
#pragma region Member Functions #pragma region Constructors
constexpr unique_ptr() noexcept : _ptr(nullptr) {} constexpr unique_ptr() noexcept : _ptr(nullptr) {}
@ -352,7 +352,7 @@ namespace std
unique_ptr &operator=(const unique_ptr &) = delete; unique_ptr &operator=(const unique_ptr &) = delete;
#pragma endregion Member Functions #pragma endregion Constructors
#pragma region Modifiers #pragma region Modifiers
@ -408,7 +408,7 @@ namespace std
pointer _ptr; pointer _ptr;
public: public:
#pragma region Member Functions #pragma region Constructors
constexpr unique_ptr() noexcept : _ptr(nullptr) {} constexpr unique_ptr() noexcept : _ptr(nullptr) {}
@ -459,7 +459,7 @@ namespace std
unique_ptr &operator=(const unique_ptr &) = delete; unique_ptr &operator=(const unique_ptr &) = delete;
#pragma endregion Member Functions #pragma endregion Constructors
#pragma region Modifiers #pragma region Modifiers

View File

@ -833,7 +833,7 @@ namespace std
size_t _capacity; size_t _capacity;
public: public:
#pragma region Member Functions #pragma region Constructors
basic_string() basic_string()
: _alloc(Allocator()), : _alloc(Allocator()),
@ -1224,7 +1224,7 @@ namespace std
return _alloc; return _alloc;
} }
#pragma endregion Member Functions #pragma endregion Constructors
#pragma region Element Access #pragma region Element Access

View File

@ -367,7 +367,7 @@ namespace std
size_type elementsCount = 0; size_type elementsCount = 0;
public: public:
#pragma region Member Functions #pragma region Constructors
unordered_map() = default; unordered_map() = default;
@ -412,7 +412,7 @@ namespace std
return allocator_type(); return allocator_type();
} }
#pragma endregion Member Functions #pragma endregion Constructors
#pragma region Iterators #pragma region Iterators

View File

@ -357,7 +357,7 @@ namespace std
pointer _data; pointer _data;
public: public:
#pragma region Member Functions #pragma region Constructors
constexpr vector() noexcept(noexcept(Allocator())) constexpr vector() noexcept(noexcept(Allocator()))
: _size(0), : _size(0),
@ -583,7 +583,7 @@ namespace std
return _alloc; return _alloc;
} }
#pragma endregion Member Functions #pragma endregion Constructors
#pragma region Element Access #pragma region Element Access