boost::openmethod::operator!=

Compare two virtual_ptr objects for inequality.

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 inequality. The v‐table pointers are not compared.!

Return Value

true if both virtual_ptr objects point to different objects, or one is nullptr and the other is not, 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 registry.

Parameters

Name

Description

left

A reference to a virtual_ptr.

right

A reference to a virtual_ptr.

Created with MrDocs