Elm  2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
SolidType Class Reference

Public Member Functions

 SolidType (T v=0)
 
operator* (void) const
 
T & operator* (void)
 

Detailed Description

This class targets the same goal as StrongType but in a stricter way. The embedded scalar type needs to use "*" operator to be accessed: no automatic conversion is available to protect even further the values against user mistakes.

Parameters
TEmbedded type. @seealso SolidType

Constructor & Destructor Documentation

◆ SolidType()

SolidType ( v = 0)
inlineexplicit

Member Function Documentation

◆ operator*() [1/2]

T& operator* ( void  )
inline

◆ operator*() [2/2]

T operator* ( void  ) const
inline

The documentation for this class was generated from the following files: