type_safe.h File Reference

CPP API: type_safe.h File Reference
type_safe.h File Reference
#include "memilio/io/io.h"
#include <ostream>
Include dependency graph for type_safe.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mio::OperatorAdditionSubtraction< TS >
 base class to add default operator +, +=, -, -= to a class derived from TypeSafe. More...
 
class  mio::OperatorComparison< TS >
 base class to add operator <, <=, >, >= to a class derived from TypeSafe. More...
 
class  mio::OperatorIncrementDecrement< TS >
 base class to add operator ++, – (pre- and post-) to a class derived from TypeSafe. More...
 
class  mio::OperatorScalarMultiplicationDivision< TS, S >
 base class to add operator *, *=, /, /= with a scalar to a class derived from TypeSafe. More...
 
class  mio::TypeSafe< T, Derived >
 typesafe wrapper around any type to make function arguments, tuple elements, etc. More...
 

Namespaces

 mio
 A collection of classes to simplify handling of matrix shapes in meta programming.
 

Macros

#define DECL_TYPESAFE(T, Name)
 helper macro to declare a class that derives from TypeSafe. More...
 

Macro Definition Documentation

◆ DECL_TYPESAFE

#define DECL_TYPESAFE (   T,
  Name 
)
Value:
struct Name : public ::mio::TypeSafe<T, Name> { \
using TypeSafe<T, Name>::TypeSafe; \
}
typesafe wrapper around any type to make function arguments, tuple elements, etc.
Definition: type_safe.h:42

helper macro to declare a class that derives from TypeSafe.