6#include <userver/compiler/select.hpp>
7#include <userver/formats/bson/document.hpp>
8#include <userver/storages/mongo/options.hpp>
9#include <userver/utils/fast_pimpl.hpp>
11USERVER_NAMESPACE_BEGIN
31 void SetOption()
const {}
37 static constexpr std::size_t kSize =
38 compiler::SelectSize()
41 static constexpr size_t kAlignment =
alignof(
void*);
42 utils::FastPimpl<Impl, kSize, kAlignment, utils::kStrictMatch> impl_;
62 static constexpr std::size_t kSize =
63 compiler::SelectSize()
66 static constexpr size_t kAlignment =
alignof(
void*);
67 utils::FastPimpl<Impl, kSize, kAlignment, utils::kStrictMatch> impl_;
73 enum class Mode { kSingle, kMulti };
93 static constexpr std::size_t kSize =
94 compiler::SelectSize()
97 static constexpr size_t kAlignment =
alignof(
void*);
98 utils::FastPimpl<Impl, kSize, kAlignment, utils::kStrictMatch> impl_;
104 enum class Mode { kSingle, kMulti };
110 Delete(
Delete&&)
noexcept;
121 static constexpr std::size_t kSize =
122 compiler::SelectSize()
125 static constexpr size_t kAlignment =
alignof(
void*);
126 utils::FastPimpl<Impl, kSize, kAlignment, utils::kStrictMatch> impl_;