Namespaces
Variants
Views
Actions

std::type_info::name

From cppreference.com
< cpp‎ | types‎ | type info
Revision as of 18:18, 2 August 2011 by P12bot (Talk | contribs)

Template:cpp/types/type info/sidebar

const char* name() const;

Returns an implementation defined null-terminated character string containing the name of the type. No guarantees are given, in particular, the returned string can be identical for several types and change between invocations of the same program.

Contents

Parameters

Template:param none

Return value

null-terminated character string containing the name of the type.

Example

Template:example cpp

See also

(C++11)
returns a value which is identical for the same types
(public member function) [edit]