29 #ifndef BIT_MEMORY_POLICIES_GROWTH_MULTIPLIERS_NO_GROWTH_HPP 30 #define BIT_MEMORY_POLICIES_GROWTH_MULTIPLIERS_NO_GROWTH_HPP 32 #if defined(_MSC_VER) && (_MSC_VER >= 1200) 34 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 87 constexpr
void grow() noexcept;
92 constexpr std::size_t
multiplier()
const noexcept;
98 #include "detail/no_growth.inl" A multiplier that doesn't actually grow.
constexpr no_growth_multiplier() noexcept=default
Default-constructs this growth policy.
no_growth_multiplier & operator=(no_growth_multiplier &&other)=default
Move-assigns this growth policy from an existing one.
constexpr std::size_t multiplier() const noexcept
Returns the multiplier.
constexpr void grow() noexcept
No-op.