carb::extras::operator==

Defined in carb/extras/HandleDatabase.h

template<class Mapped, class Handle, class Allocator>
inline bool carb::extras::operator==(const HandleRef<Mapped, Handle, Allocator> &ref, std::nullptr_t)

Tests equality between HandleRef and nullptr.

Parameters

ref – The HandleRef to test.

Returns

true if ref is empty; false otherwise.