Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ReturnPolicy_AggregateUntilCancelled.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5namespace Bedrock::PubSub::Detail {
6
7template <typename TReturnType>
9 using ReturnType =
10 std::conditional_t<std::is_default_constructible_v<TReturnType>, TReturnType, std::optional<TReturnType>>;
11
12protected:
13 ReturnType return_value_;
14};
15
16} // namespace Bedrock::PubSub::Detail
Definition ReturnPolicy_AggregateUntilCancelled.h:8