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

> C++ Atlas: `cppatlas.com/w/cpp/experimental/propagate_const/operator_bool` | Source: https://en.cppreference.com/w/cpp/experimental/propagate_const/operator_bool | Domain: Technical specifications

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

## Official Specification Summary (cppreference)

```cpp
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

> Note: This section is incomplete Reason: no example

### See also

- [`get`](https://en.cppreference.com/w/cpp/experimental/propagate_const/get): returns a pointer to the object pointed to by the wrapped pointer (public member function)

---
Attribution: content from https://en.cppreference.com/w/cpp/experimental/propagate_const/operator_bool (cppreference.com), licensed under CC-BY-SA 3.0 and GFDL. Modified: converted to markdown, study notes added. Offline snapshot of 9 February 2025.