27template <comms::ErrorStatus TStatus,
typename TBase>
30 using BaseImpl = TBase;
33 using ValueType =
typename BaseImpl::ValueType;
43 : BaseImpl(
std::move(val))
52 template <
typename TIter>
56 auto es = tmp.read(iter, len);
65 static_cast<BaseImpl&
>(*this) = std::move(tmp);
69 static constexpr bool hasReadNoStatus()
74 template <
typename TIter>
75 void readNoStatus(TIter& iter) =
delete;
This file contains classes required for generic custom assertion functionality.
This file contain definition of error statuses used by comms module.
comms::option::def::FailOnInvalid< TStatus > FailOnInvalid
Same as comms::option::def::FailOnInvalid.
Definition options.h:1617
Main namespace for all classes / functions of COMMS library.
ErrorStatus
Error statuses reported by the Communication module.
Definition ErrorStatus.h:19
@ Success
Used to indicate successful outcome of the operation.