`#include <base.hpp>`

## Public Types | |

typedef T | original_type |

The primary type T. |

struct instigate::generic::type_to_type< T >

template <typename T, typename U> T function(U u) { // we want the code here to be different when T is some TYPE. }

As we can not partially specialize the function, we can solve the problem in following way:

template <typename T, typename U> T function(U u, type_to_type<T>) { } template <typename U> TYPE function(U u, type_to_type<TYPE>) { }

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

- src/generic/base.hpp

© Instigate CJSC, Open Source