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 = compiler::SelectSize()
40 static constexpr size_t kAlignment =
alignof(
void*);
41 utils::FastPimpl<Impl, kSize, kAlignment, utils::kStrictMatch> impl_;
61 static constexpr std::size_t kSize = compiler::SelectSize()
64 static constexpr size_t kAlignment =
alignof(
void*);
65 utils::FastPimpl<Impl, kSize, kAlignment, utils::kStrictMatch> impl_;
71 enum class Mode { kSingle, kMulti };
91 static constexpr std::size_t kSize = compiler::SelectSize()
94 static constexpr size_t kAlignment =
alignof(
void*);
95 utils::FastPimpl<Impl, kSize, kAlignment, utils::kStrictMatch> impl_;
101 enum class Mode { kSingle, kMulti };
107 Delete(
Delete&&)
noexcept;
118 static constexpr std::size_t kSize = compiler::SelectSize()
121 static constexpr size_t kAlignment =
alignof(
void*);
122 utils::FastPimpl<Impl, kSize, kAlignment, utils::kStrictMatch> impl_;