COMMS
Template library intended to help with implementation of communication protocols.
Loading...
Searching...
No Matches
Namespaces | Functions
cast.h File Reference

Contains definition of various casts. More...

#include "comms/details/ValueAssignWrapper.h"
#include "comms/details/FieldCastHelper.h"

Go to the source code of this file.

Namespaces

namespace  comms
 Main namespace for all classes / functions of COMMS library.
 

Functions

template<typename T >
details::ValueAssignWrapper< T > comms::cast_assign (T &value)
 Helper function to assign value with static_cast to appropriate type.
 
template<typename TFieldTo , typename TFieldFrom >
TFieldTo comms::field_cast (const TFieldFrom &field)
 Cast between fields.
 

Detailed Description

Contains definition of various casts.