QuickCppLib 0.10
Eliminate all the tedious hassle when making state-of-the-art C++ 14 - 23 libraries!
Loading...
Searching...
No Matches
quickcpplib::_xxx::aligned_allocator Namespace Reference

Namespaces

namespace  detail

Classes

class  aligned_allocator
 An STL allocator which allocates aligned memory. More...
class  aligned_allocator< void, Align, initialize >
class  aligned_allocator< const void, Align, initialize >
class  aligned_allocator< const T, Align, initialize >

Functions

template<typename T, size_t TAlign, bool Tinit, typename U, size_t UAlign, bool Uinit>
bool operator== (const aligned_allocator< T, TAlign, Tinit > &, const aligned_allocator< U, UAlign, Uinit > &) noexcept
template<typename T, size_t TAlign, bool Tinit, typename U, size_t UAlign, bool Uinit>
bool operator!= (const aligned_allocator< T, TAlign, Tinit > &, const aligned_allocator< U, UAlign, Uinit > &) noexcept

Function Documentation

◆ operator==()

template<typename T, size_t TAlign, bool Tinit, typename U, size_t UAlign, bool Uinit>
bool quickcpplib::_xxx::aligned_allocator::operator== ( const aligned_allocator< T, TAlign, Tinit > & ,
const aligned_allocator< U, UAlign, Uinit > &  )
inlinenoexcept
254 {
255 return TAlign == UAlign;
256 }

◆ operator!=()

template<typename T, size_t TAlign, bool Tinit, typename U, size_t UAlign, bool Uinit>
bool quickcpplib::_xxx::aligned_allocator::operator!= ( const aligned_allocator< T, TAlign, Tinit > & ,
const aligned_allocator< U, UAlign, Uinit > &  )
inlinenoexcept
261 {
262 return TAlign != UAlign;
263 }