General Utility Library for C++14  2.11
gul14::FailToInstantiate< T > Class Template Reference

Detailed Description

template<typename T>
class gul14::FailToInstantiate< T >

A helper class to debug types.

This is - on purpose - an incomplete templated class.

Trying to instantiate an object of this class will result in a compiler error with a detailed description of template argument T.

Template Parameters
TType to investigate

A using example:

auto t = some_type_or_another{ };
A helper class to debug types.
Definition: type_name.h:66

A more realistic example for people shying away from auto:

template <typename T>
void my_function(T param)
// wondering if T is what I expect...

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