7template <
typename CounterBase,
typename Deleter = DefaultDeleter>
9 template <
typename...
Args>
19 void Add(std::size_t)
noexcept {
22 void Sub(std::size_t)
noexcept {
23 Deleter::Delete(*
this);
Contract< V, E > MakeContract()
Creates related future and promise.
OneCounter(std::size_t, Args &&... args) noexcept(std::is_nothrow_constructible_v< CounterBase, Args &&... >)
void Sub(std::size_t) noexcept
constexpr bool SubEqual(std::size_t) const
void Add(std::size_t) noexcept