ADTF
3.18.4
|
Public API for StackPtr type and functions. More...
Go to the source code of this file.
Classes | |
class | StackPtr< T, StackSize, Alignment > |
A smart pointer allocating its memory only on the stack. More... | |
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) |
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... | |
Public API for StackPtr type and functions.
Copyright @ 2023 VW Group. All rights reserved. This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
Definition in file stack_ptr_decl.h.