Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libcxx/include/__memory/
H A Dshared_ptr.h332 using _CompressedPair = __compressed_pair<_Alloc, _Tp>; member
333 struct _ALIGNAS_TYPE(_CompressedPair) _Storage { in _ALIGNAS_TYPE()
334 char __blob_[sizeof(_CompressedPair)]; in _ALIGNAS_TYPE()
343 _CompressedPair *__as_pair = reinterpret_cast<_CompressedPair*>(__blob_); in _ALIGNAS_TYPE()
344 … typename _CompressedPair::_Base1* __first = _CompressedPair::__get_first_base(__as_pair); in _ALIGNAS_TYPE()
349 _CompressedPair *__as_pair = reinterpret_cast<_CompressedPair*>(__blob_); in _ALIGNAS_TYPE()
350 … typename _CompressedPair::_Base2* __second = _CompressedPair::__get_second_base(__as_pair); in _ALIGNAS_TYPE()
356 static_assert(_LIBCPP_ALIGNOF(_Storage) == _LIBCPP_ALIGNOF(_CompressedPair), "");
357 static_assert(sizeof(_Storage) == sizeof(_CompressedPair), "");