A RetroSearch Logo

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

Search Query:

Showing content from https://timsong-cpp.github.io/cppwp/n4659/any.observers below:

[any.observers]

23 General utilities library [utilities] 23.8 Storage for any type [any] 23.8.3 Class any [any.class] 23.8.3.4 Observers [any.observers]

bool has_value() const noexcept;

1 #

Returns: true if *this contains an object, otherwise false.

const type_info& type() const noexcept;

2 #

Returns: typeid(T) if *this has a contained value of type T, otherwise typeid(void).

3 #

[Note: Useful for querying against types known either at compile time or only at runtime. end note]


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