userver: userver/utils/fast_pimpl.hpp File Reference
Loading...
Searching...
No Matches
fast_pimpl.hpp File Reference

Detailed Description

Implements pimpl idiom without dynamic memory allocation.

Definition in file fast_pimpl.hpp.

Go to the source code of this file.

#include <cstddef>
#include <new>
#include <type_traits>
#include <utility>
+ Include dependency graph for fast_pimpl.hpp:

Classes

class  utils::FastPimpl< T, Size, Alignment, Strict >
 Implements pimpl idiom without dynamic memory allocation. More...
 

Namespaces

namespace  utils
 Utilities.
 

Variables

constexpr bool utils::kStrictMatch = true
 Helper constant to use with FastPimpl.