We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31920c7 commit c2ab61aCopy full SHA for c2ab61a
1 file changed
include/rfl/TaggedUnion.hpp
@@ -17,6 +17,8 @@ struct TaggedUnion {
17
/// The type of the underlying variant.
18
using VariantType = rfl::Variant<Ts...>;
19
20
+ TaggedUnion() = default;
21
+
22
TaggedUnion(const VariantType& _variant) : variant_(_variant) {}
23
24
TaggedUnion(VariantType&& _variant) noexcept
0 commit comments