MCPcopy Create free account
hub / github.com/JDAI-CV/DNNLibrary / operator==

Function operator==

include/common/optional.h:1279–1282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1277
1278template< typename T, typename U >
1279inline optional_constexpr bool operator==( optional<T> const & x, optional<U> const & y )
1280{
1281 return bool(x) != bool(y) ? false : !bool( x ) ? true : *x == *y;
1282}
1283
1284template< typename T, typename U >
1285inline optional_constexpr bool operator!=( optional<T> const & x, optional<U> const & y )

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected