22template <
typename TBase>
23class VariantResetOnDestruct :
public TBase
25 using BaseImpl = TBase;
26 static_assert(std::is_same<typename BaseImpl::CommsTag, comms::field::tag::Variant>::value,
"Applicable only to variant fields");
29 ~VariantResetOnDestruct()
34 VariantResetOnDestruct() =
default;
35 VariantResetOnDestruct(
const VariantResetOnDestruct&) =
default;
36 VariantResetOnDestruct(VariantResetOnDestruct&&) =
default;
37 VariantResetOnDestruct& operator=(
const VariantResetOnDestruct&) =
default;
38 VariantResetOnDestruct& operator=(VariantResetOnDestruct&&) =
default;
40 template <
typename TIter>
44 return BaseImpl::read(iter, len);
Main namespace for all classes / functions of COMMS library.
ErrorStatus
Error statuses reported by the Communication module.
Definition ErrorStatus.h:17