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

Implements pimpl idiom without dynamic memory allocation. More...

#include <cstddef>
#include <new>
#include <type_traits>
#include <utility>
+ Include dependency graph for fast_pimpl.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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.
 

Detailed Description

Implements pimpl idiom without dynamic memory allocation.

Definition in file fast_pimpl.hpp.