25template <
typename TBase>
26class MissingOnInvalid :
public TBase
28 using BaseImpl = TBase;
31 template <
typename TIter>
35 auto es = BaseImpl::read(iterTmp, len);
40 if (!BaseImpl::valid()) {
49 static constexpr bool hasReadNoStatus()
54 template <
typename TIter>
55 void readNoStatus(TIter& iter) =
delete;
57 static constexpr bool hasNonDefaultRefresh()
64 bool updated = BaseImpl::refresh();
65 auto mode = BaseImpl::getMode();
66 if (!BaseImpl::valid()) {
70 if (mode == BaseImpl::getMode()) {
74 BaseImpl::setMode(mode);
Contains definition of various casts.
@ Missing
Field doesn't exist.
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.