ADTF  3.18.2
stack_ptr_impl.h File Reference

Private implementation for StackPtr type and functions. More...

Go to the source code of this file.

Namespaces

 a_util
 Serves as the root component, with common functionality documented in core functionality.
 
 a_util::memory
 Serves as component for memory access and management.
 

Functions

template<typename T , std::size_t StackSize, std::size_t Alignment>
void swap (StackPtr< T, StackSize, Alignment > &lhs, StackPtr< T, StackSize, Alignment > &rhs)
 Swap storages of two objects of type StackPtr. More...
 
template<typename T , std::size_t StackSize, std::size_t Alignment>
bool operator== (const StackPtr< T, StackSize, Alignment > &lhs, const StackPtr< T, StackSize, Alignment > &rhs)
 
template<typename T , std::size_t StackSize, std::size_t Alignment>
bool operator!= (const StackPtr< T, StackSize, Alignment > &lhs, const StackPtr< T, StackSize, Alignment > &rhs)
 Compare for inequality. More...
 
template<typename T , std::size_t StackSize = sizeof(T), std::size_t Alignment = alignof(std::size_t), typename... Args>
constexpr auto makeStackPtr (Args &&... args) -> StackPtr< T, StackSize, Alignment >
 Create a new StackPtr. More...
 

Detailed Description

Private implementation for StackPtr type and functions.

Definition in file stack_ptr_impl.h.