General Utility Library for C++14  2.7
Classes | Namespaces | Functions
type_name.h File Reference

Detailed Description

Definition of type_name()

Author
General Utility Library Contributors
Date
Created on April 11, 2019

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 2.1 of the license, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see https://www.gnu.org/licenses/.

This code has been inspired by posts of Howard Hinnant at Stackoverflow. His code has been inspired by posts of Jamboree at Stackoverflow.

#include "gul14/internal.h"
#include "gul14/string_view.h"
Include dependency graph for type_name.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  gul14::FailToInstantiate< T >
 A helper class to debug types. More...
 

Namespaces

 gul14
 Namespace gul14 contains all functions and classes of the General Utility Library.
 

Functions

template<class T >
constexpr string_view gul14::type_name ()
 Generate a human readable string describing a type. More...