Recast  1
Game with custom magic
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Protected Attributes | List of all members
GenericScalar< T > Struct Template Reference

#include <GenericScalar.hpp>

Collaboration diagram for GenericScalar< T >:
Collaboration graph

Public Member Functions

 GenericScalar (T value)
 
 operator T () const noexcept
 
 operator T & () noexcept
 

Protected Attributes

_value
 

Detailed Description

template<typename T>
struct GenericScalar< T >

Template for structs that wrap fundamental types. You can consider it as medium-strong typedef.

Template Parameters
TUnderlying type.

Constructor & Destructor Documentation

template<typename T>
GenericScalar< T >::GenericScalar ( value)
inline

Member Function Documentation

template<typename T>
GenericScalar< T >::operator T ( ) const
inlinenoexcept
template<typename T>
GenericScalar< T >::operator T & ( )
inlinenoexcept

Member Data Documentation

template<typename T>
T GenericScalar< T >::_value
protected

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