Compares against nullptr.

Synopsis

Declared in <folly/result/rich_error_base.h>

constexpr
bool
operator==(
    std::nullptr_t null,
    rich_ptr_to_underlying_error const& p);
Note

This function is a hidden friend of rich_ptr_to_underlying_error, declared only inside that class: it can be found only through argument-dependent lookup.

Return Value

true if p is null.

Parameters

Name

Description

null

A nullptr literal.

p

The rich‐error pointer.

Created with MrDocs