tetl 0.1.0
Embedded Template Library
|
Go to the source code of this file.
Classes | |
struct | stack< T, Container > |
The stack class is a container adapter that gives the programmer the functionality of a stack - specifically, a LIFO (last-in, first-out) data structure. More... | |
Namespaces | |
namespace | etl |
Functions | |
template<typename Container> | |
stack (Container) -> stack< typename Container::value_type, Container > | |
template<typename T, typename C> requires (is_swappable_v<C>) | |
constexpr auto | swap (stack< T, C > &lhs, stack< T, C > &rhs) noexcept(noexcept(lhs.swap(rhs))) -> void |
Specializes the swap algorithm for stack. Swaps the contents of lhs and rhs. This overload only participates in overload resolution if is_swappable<C>::value is true. | |