COMMS
Template library intended to help with implementation of communication protocols.
|
#include "comms/options.h"
Option that specifies default initialisation class.
Use this option when default constructor of the field must assign some special value. The initialiser class provided as template argument must define the following member function:
For example, we want string field that will have "hello" as its default value. The provided initialiser class with the option will be instantiated and its operator() is invoked which is responsible to assign proper value to the field.
T | Type of the initialiser class. |