boost::openmethod::operator==
Compare two `virtual_ptr`s for equality.
Synopsis
Declared in <boost/openmethod/core.hpp>
template<
class Left,
class Right,
class Registry>
bool
operator==(
virtual_ptr<Left, Registry> const& left,
virtual_ptr<Right, Registry> const& right);
Description
Compare the underlying object pointers for equality. The v‐table pointers are not compared.!
Return Value
true if both virtual_ptr`s point to the same object or both are `nullptr, false otherwise.
Template Parameters
| Name | Description |
|---|---|
Left |
The type of the left‐hand side argument. |
Right |
The type of the right‐hand side argument. |
Registry |
A |
Parameters
| Name | Description |
|---|---|
left |
A reference to a |
right |
A reference to a |
Created with MrDocs