C++ Typeindex Library - name



Description

It returns a null-terminated character sequence that may identify the type currently referenced to by the object.

Declaration

Following is the declaration for std::type_index::name.

const char* name() const;

C++11

const char* name() const;

C++14

const char* name() const noexcept;

Parameters

none

Return Value

It returns a null-terminated character sequence that may identify the type currently referenced to by the object.

Exceptions

No-throw guarantee − never throws exceptions.

cpp_typeindex.htm
Advertisements