Go to Overview over all GrAL packages.
Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

Utility/type-name-traits.h File Reference

Deduce a string with the type name from the type. More...

#include "Forward/string_fwd.h"

Include dependency graph for type-name-traits.h:

Include dependency graph

Go to the source code of this file.

Compounds

struct  type_name_traits
 The general case: Name not known, return empty string. More...

struct  type_name_traits< bool >
 specialization for bool. More...

struct  type_name_traits< int >
struct  type_name_traits< unsigned >
struct  type_name_traits< short >
struct  type_name_traits< long >
struct  type_name_traits< char >
struct  type_name_traits< float >
struct  type_name_traits< double >
struct  type_name_traits< std::string >


Detailed Description

Deduce a string with the type name from the type.

This allows a generic implementation of some routines where the typename must be written out.

This is specialized for basic types, and must be specialized for other types if needed.

Definition in file type-name-traits.h.


Copyright (c) Guntram Berti 1997-2002. See the GrAL Homepage for up-to-date information.

Generated at Tue Feb 26 15:57:03 2002 for Utilities by doxygen 1.2.11-20011104 written by Dimitri van Heesch, © 1997-2000