mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-18 09:04:49 -04:00
Cleanup
This commit is contained in:
parent
d22b782949
commit
860bb1618d
@ -24,8 +24,8 @@ public:
|
|||||||
using reference = const T&;
|
using reference = const T&;
|
||||||
using const_reference = const T&;
|
using const_reference = const T&;
|
||||||
using size_type = size_t;
|
using size_type = size_t;
|
||||||
using iterator = const T*;
|
using iterator = const T*;
|
||||||
using const_iterator = const T*;
|
using const_iterator = const T*;
|
||||||
|
|
||||||
constexpr initializer_list() noexcept : first(nullptr), _size(0) {
|
constexpr initializer_list() noexcept : first(nullptr), _size(0) {
|
||||||
// Nothing else to init
|
// Nothing else to init
|
||||||
@ -45,13 +45,13 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
inline constexpr const T* begin(initializer_list<T> __il) noexcept {
|
inline constexpr const T* begin(initializer_list<T> list) noexcept {
|
||||||
return __il.begin();
|
return list.begin();
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
inline constexpr const T* end(initializer_list<T> __il) noexcept {
|
inline constexpr const T* end(initializer_list<T> list) noexcept {
|
||||||
return __il.end();
|
return list.end();
|
||||||
}
|
}
|
||||||
|
|
||||||
} //end of namespace std
|
} //end of namespace std
|
||||||
|
Loading…
x
Reference in New Issue
Block a user