Skip to content

Search topics & cppreference

Search all study topics, concept maps, and 6,587 C++ and C reference pages.

std::experimental::propagate_const<T>::operator bool

Checks whether the wrapped pointer-like object, t_, is null.

NotebookLM
constexpr explicit operator bool() const;
(library fundamentals TS v2)

Checks whether the wrapped pointer-like object, t_, is null.

Parameters

(none)

Return value

true if the wrapped object is not null, otherwise false. Equivalent to (bool)t_.

Example

This section is incomplete
Reason: no example

See also

returns a pointer to the object pointed to by the wrapped pointer
(public member function)

Content from this page on cppreference.com, licensed under CC-BY-SA 3.0 and GFDL. Modified: restyled, site navigation removed, code windows added. Offline snapshot of 9 February 2025.