Equality‐compare two strong values; available iff T is comparable.

Synopsis

Declared in <folly/lang/Strong.h>

bool
operator==(
    strong const& lhs,
    strong const& rhs) = default;
Note

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

Return Value

true if the wrapped values are equal.

Parameters

Name

Description

lhs

The left‐hand strong value.

rhs

The right‐hand strong value.

Created with MrDocs