Home
last modified time | relevance | path

Searched refs:_Storage (Results 1 – 15 of 15) sorted by relevance

/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/bits/
H A Dmove_only_function.h107 _Storage __s; in _GLIBCXX_VISIBILITY()
125 struct _Storage in _GLIBCXX_VISIBILITY() struct
131 struct _Delegate { void (_Storage::*__pfm)(); _Storage* __obj; }; in _GLIBCXX_VISIBILITY() member
141 = sizeof(_Tp) <= sizeof(_Storage) && alignof(_Tp) <= alignof(_Storage) in _GLIBCXX_VISIBILITY()
146 using _Manager = void (*)(_Storage& __target, _Storage* __src) noexcept; in _GLIBCXX_VISIBILITY()
149 static void _S_empty(_Storage&, _Storage*) noexcept { } in _GLIBCXX_VISIBILITY()
154 _S_manage(_Storage& __target, _Storage* __src) noexcept in _GLIBCXX_VISIBILITY()
176 _Storage _M_storage; in _GLIBCXX_VISIBILITY()
H A Dstl_vector.h1847 union _Storage in _GLIBCXX_VISIBILITY()
1849 constexpr _Storage() : _M_byte() { } in _GLIBCXX_VISIBILITY()
1850 _GLIBCXX20_CONSTEXPR ~_Storage() { } in _GLIBCXX_VISIBILITY()
1851 _Storage& operator=(const _Storage&) = delete; in _GLIBCXX_VISIBILITY()
1857 _Storage _M_storage; in _GLIBCXX_VISIBILITY()
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/std/
H A Dany83 union _Storage
85 constexpr _Storage() : _M_ptr{nullptr} {}
88 _Storage(const _Storage&) = delete;
89 _Storage& operator=(const _Storage&) = delete;
96 bool _Fits = (sizeof(_Tp) <= sizeof(_Storage))
97 && (alignof(_Tp) <= alignof(_Storage))>
361 _Storage _M_storage;
377 _S_create(_Storage& __storage, _Up&& __value)
385 _S_create(_Storage& __storage, _Args&&... __args)
392 _S_access(const _Storage& __storage)
[all …]
H A Doptional207 union _Storage
209 constexpr _Storage() noexcept : _M_empty() { }
213 _Storage(in_place_t, _Args&&... __args)
219 _Storage(std::initializer_list<_Vp> __il, _Args&&... __args)
226 _Storage(_Optional_func<_Fn> __f, _Arg&& __arg)
237 union _Storage<_Up, false>
239 constexpr _Storage() noexcept : _M_empty() { }
243 _Storage(in_place_t, _Args&&... __args)
249 _Storage(std::initializer_list<_Vp> __il, _Args&&... __args)
256 _Storage(_Optional_func<_Fn> __f, _Arg&& __arg)
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/std/
H A Dany80 union _Storage
82 constexpr _Storage() : _M_ptr{nullptr} {}
85 _Storage(const _Storage&) = delete;
86 _Storage& operator=(const _Storage&) = delete;
93 bool _Fits = (sizeof(_Tp) <= sizeof(_Storage))
94 && (alignof(_Tp) <= alignof(_Storage))>
356 _Storage _M_storage;
370 _S_create(_Storage& __storage, _Up&& __value)
378 _S_create(_Storage& __storage, _Args&&... __args)
385 _S_access(const _Storage& __storage)
[all …]
H A Doptional197 union _Storage
199 constexpr _Storage() noexcept : _M_empty() { }
203 _Storage(in_place_t, _Args&&... __args)
209 _Storage(std::initializer_list<_Vp> __il, _Args&&... __args)
218 union _Storage<_Up, false>
220 constexpr _Storage() noexcept : _M_empty() { }
224 _Storage(in_place_t, _Args&&... __args)
230 _Storage(std::initializer_list<_Vp> __il, _Args&&... __args)
235 ~_Storage() { }
241 _Storage<_Stored_type> _M_payload;
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/experimental/
H A Dany93 union _Storage
96 _Storage() = default;
99 _Storage(const _Storage&) = delete;
100 _Storage& operator=(const _Storage&) = delete;
107 bool _Fits = (sizeof(_Tp) <= sizeof(_Storage))
108 && (alignof(_Tp) <= alignof(_Storage))>
303 _Storage _M_storage;
318 _S_create(_Storage& __storage, _Up&& __value)
334 _S_create(_Storage& __storage, _Up&& __value)
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/experimental/
H A Dany93 union _Storage
96 _Storage() = default;
99 _Storage(const _Storage&) = delete;
100 _Storage& operator=(const _Storage&) = delete;
107 bool _Fits = (sizeof(_Tp) <= sizeof(_Storage))
108 && (alignof(_Tp) <= alignof(_Storage))>
303 _Storage _M_storage;
318 _S_create(_Storage& __storage, _Up&& __value)
334 _S_create(_Storage& __storage, _Up&& __value)
/netbsd-src/external/apache2/llvm/dist/libcxx/include/__memory/
H A Dshared_ptr.h318 __storage_.~_Storage(); in __on_zero_shared_weak()
332 struct _ALIGNAS_TYPE(_CompressedPair) _Storage { in _ALIGNAS_TYPE()
335 _LIBCPP_HIDE_FROM_ABI explicit _Storage(_Alloc&& __a) { in _ALIGNAS_TYPE()
338 _LIBCPP_HIDE_FROM_ABI ~_Storage() { in _ALIGNAS_TYPE()
355 static_assert(_LIBCPP_ALIGNOF(_Storage) == _LIBCPP_ALIGNOF(_CompressedPair), "");
356 static_assert(sizeof(_Storage) == sizeof(_CompressedPair), "");
357 _Storage __storage_;
/netbsd-src/external/apache2/llvm/dist/libcxx/include/
H A Dany302 union _Storage {
303 constexpr _Storage() : __ptr(nullptr) {}
338 _Storage __s;
H A Dfilesystem1691 __storage_(make_shared<_Storage>(path(), path())) {
1698 __storage_(make_shared<_Storage>(__p1, path())) {
1706 __storage_(make_shared<_Storage>(__p1, __p2)) {
1727 struct _LIBCPP_HIDDEN _Storage {
1729 _Storage(const path& __p1, const path& __p2) : __p1_(__p1), __p2_(__p2) {}
1735 shared_ptr<_Storage> __storage_;
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/
H A DChangeLog-20153543 * include/experimental/any (any::_Storage): Fix alignment of buffer.
3582 * include/experimental/any (any::_Storage): Make non-copyable.
3583 (any::any): Do not copy _Storage object.
3589 parameter instead of returning a _Storage object.
H A DChangeLog-20174267 (_Variant_base::_M_valid): Use _Storage::__index_type
4269 (variant::index): Use _Base::_Storage::__index_type
H A DChangeLog-20168325 * include/std/any (_Storage()): Make constexpr and have it
8347 (_Manager_internal::_S_create(_Storage&, _Args&&...)): New.
8348 (_Manager_external::_S_create(_Storage&, _Args&&...)): Likewise.
H A DChangeLog-20211579 * include/std/optional (_Optional_payload_base::_Storage): Add
1714 * include/std/optional (_Storage, _Optional_payload, optional):