ttg::default_data_descriptor< T, Enabler > Struct Template Reference

Documentation

template<typename T, typename Enabler = void>
struct ttg::default_data_descriptor< T, Enabler >

Provides (de)serialization of C++ data that can be invoked from C via ttg_data_descriptor.

The default implementation is only provided for POD data types but is efficient in the sense that it does enable zero-copy remote data transfers. For other data types, optimized implementations must be provided as needed or, if available, the MADNESS serialization can be used but this will always make a copy and requires that the entire object fit in the message buffer.

Definition at line 60 of file data_descriptor.h.


The documentation for this struct was generated from the following file: