userver: userver/utils/fast_pimpl.hpp File Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
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.