22template <comms::ErrorStatus TStatus,
typename TBase>
25 using BaseImpl = TBase;
28 using ValueType =
typename BaseImpl::ValueType;
38 : BaseImpl(
std::move(val))
47 template <
typename TIter>
51 auto es = tmp.read(iter, len);
60 static_cast<BaseImpl&
>(*this) = std::move(tmp);
64 static constexpr bool hasReadNoStatus()
69 template <
typename TIter>
70 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:1552
Main namespace for all classes / functions of COMMS library.
ErrorStatus
Error statuses reported by the Communication module.
Definition ErrorStatus.h:17
@ Success
Used to indicate successful outcome of the operation.