A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cplusplus.com/reference/typeindex/type_index/type_index/ below:

public member function

<typeindex>

std::type_index::type_index initialization (1)
type_index (const type_info& tpinf) noexcept;
copy (2)
type_index (const type_index&  x) noexcept;   // implicitly declared
move (3)
type_index (const type_index&& x) noexcept;   // implicitly declared

Construct type_index

Constructs a type_index object that refers to tpinf.

The implicitly declared copy and move constructors, properly copy or transfer the value of x: The newly constructed object represents the same type as x did before the call. The same applies to the implicitly declared assignment operators.



Parameters
tpinf
type_info object.

Data races No data races are initiated by this constructor.

Exception safetyNo-throw guarantee: never throws exceptions.

See also
type_index::hash_code
Get type hash code (public member function)

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4