13#include "comms/details/ValueAssignWrapper.h"
14#include "comms/details/FieldCastHelper.h"
31 return details::ValueAssignWrapper<T>(value);
52template <
typename TFieldTo,
typename TFieldFrom>
55 return details::FieldCastHelper<>::template cast<TFieldTo, TFieldFrom>(field);
Main namespace for all classes / functions of COMMS library.
TFieldTo field_cast(const TFieldFrom &field)
Cast between fields.
Definition cast.h:53
details::ValueAssignWrapper< T > cast_assign(T &value)
Helper function to assign value with static_cast to appropriate type.
Definition cast.h:29