Workspace 6.21.5
Static Public Member Functions | List of all members
AssignmentAdaptorImpl< From, To > Struct Template Reference

Default assignment implementation used by AssignmentAdaptor. More...

#include <Workspace/DataExecution/DataObjects/assignmentadaptor.h>

Static Public Member Functions

static bool assign (const From &from, To &to)
 

Detailed Description

template<typename From, typename To>
struct CSIRO::DataExecution::AssignmentAdaptorImpl< From, To >

The main purpose of this class is to provide a simple customization point for client code to explicitly specialize if they want to do something slightly different. A typical example would be to use a particular form of truncation on a floating point type when converting to an integral type, or to apply an explicit cast to avoid a compiler warning.

Member Function Documentation

◆ assign()

static bool assign ( const From &  from,
To &  to 
)
inlinestatic