Function operator!=

Summary

#include <src/entt/core/any.hpp>

(1) template <std::size_t Len, std::size_t Align>
    bool operator!=(const basic_any< Len, Align > &lhs, const basic_any< Len, Align > &rhs)

#include <src/entt/core/hashed_string.hpp>

(2) template <typename Char>
    constexpr bool operator!=(const basic_hashed_string< Char > &lhs, const basic_hashed_string< Char > &rhs)

#include <src/entt/core/type_info.hpp>

(3) bool operator!=(const type_info &lhs, const type_info &rhs)

#include <src/entt/entity/entity.hpp>

(4) template <typename Entity>
    constexpr bool operator!=(const Entity entity, const null_t other)

(5) template <typename Entity>
    constexpr bool operator!=(const Entity entity, const tombstone_t other)

#include <src/entt/entity/handle.hpp>

(6) template <typename Type, typename Other>
    bool operator!=(const basic_handle< Type > &lhs, const basic_handle< Other > &rhs)

#include <src/entt/meta/meta.hpp>

(7) bool operator!=(const meta_any &lhs, const meta_any &rhs)

(8) bool operator!=(const meta_type &lhs, const meta_type &rhs)

#include <src/entt/signal/delegate.hpp>

(9) template <typename Ret, typename... Args>
    bool operator!=(const delegate< Ret(Args...)> &lhs, const delegate< Ret(Args...)> &rhs)

Function overload

Synopsis

#include <src/entt/core/any.hpp>

template <std::size_t Len, std::size_t Align>
bool operator!=(const basic_any< Len, Align > &lhs, const basic_any< Len, Align > &rhs)

Description

Checks if two wrappers differ in their content.

Template Parameters

Len - Size of the storage reserved for the small buffer optimization.

Align - Alignment requirement.

Parameters

lhs - A wrapper, either empty or not.

rhs - A wrapper, either empty or not.

Returns
True if the two wrappers differ in their content, false otherwise.

Source

Lines 340-343 in src/entt/core/any.hpp.

template<std::size_t Len, std::size_t Align>
[[nodiscard]] inline bool operator!=(const basic_any<Len, Align> &lhs, const basic_any<Len, Align> &rhs) ENTT_NOEXCEPT {
    return !(lhs == rhs);
}

Synopsis

#include <src/entt/core/hashed_string.hpp>

template <typename Char>
constexpr bool operator!=(const basic_hashed_string< Char > &lhs, const basic_hashed_string< Char > &rhs)

Description

Compares two hashed strings.

Template Parameters

Char - Character type.

Parameters

lhs - A valid hashed string.

rhs - A valid hashed string.

Returns
True if the two hashed strings are identical, false otherwise.

Source

Lines 226-229 in src/entt/core/hashed_string.hpp.

template<typename Char>
[[nodiscard]] constexpr bool operator!=(const basic_hashed_string<Char> &lhs, const basic_hashed_string<Char> &rhs) ENTT_NOEXCEPT {
    return !(lhs == rhs);
}

Synopsis

#include <src/entt/core/type_info.hpp>

bool operator!=(const type_info &lhs, const type_info &rhs)

Description

Compares the contents of two type info objects.

Parameters

lhs - A type info object.

rhs - A type info object.

Returns
True if the two contents differ, false otherwise.

Source

Lines 268-270 in src/entt/core/type_info.hpp.

[[nodiscard]] inline bool operator!=(const type_info &lhs, const type_info &rhs) ENTT_NOEXCEPT {
    return !(lhs == rhs);
}

Synopsis

#include <src/entt/entity/entity.hpp>

template <typename Entity>
constexpr bool operator!=(const Entity entity, const null_t other)

Description

Compares a null object and an entity identifier of any type.

Template Parameters

Entity - Type of entity identifier.

Parameters

entity - Entity identifier with which to compare.

other - A null object yet to be converted.

Returns
True if the two elements differ, false otherwise.

Source

Lines 231-234 in src/entt/entity/entity.hpp.

template<typename Entity>
[[nodiscard]] constexpr bool operator!=(const Entity entity, const null_t other) ENTT_NOEXCEPT {
    return !(other == entity);
}

Synopsis

#include <src/entt/entity/entity.hpp>

template <typename Entity>
constexpr bool operator!=(const Entity entity, const tombstone_t other)

Description

Compares a tombstone object and an entity identifier of any type.

Template Parameters

Entity - Type of entity identifier.

Parameters

entity - Entity identifier with which to compare.

other - A tombstone object yet to be converted.

Returns
True if the two elements differ, false otherwise.

Source

Lines 322-325 in src/entt/entity/entity.hpp.

template<typename Entity>
[[nodiscard]] constexpr bool operator!=(const Entity entity, const tombstone_t other) ENTT_NOEXCEPT {
    return !(other == entity);
}

Synopsis

#include <src/entt/entity/handle.hpp>

template <typename Type, typename Other>
bool operator!=(const basic_handle< Type > &lhs, const basic_handle< Other > &rhs)

Description

Compares two handles.

Template Parameters

Type - A valid entity type (see entt_traits for more details).

Other - A valid entity type (see entt_traits for more details).

Parameters

lhs - A valid handle.

rhs - A valid handle.

Returns
False if both handles refer to the same registry and the same entity, true otherwise.

Source

Lines 311-314 in src/entt/entity/handle.hpp.

template<typename Type, typename Other>
bool operator!=(const basic_handle<Type> &lhs, const basic_handle<Other> &rhs) ENTT_NOEXCEPT {
    return !(lhs == rhs);
}

Synopsis

#include <src/entt/meta/meta.hpp>

bool operator!=(const meta_any &lhs, const meta_any &rhs)

Description

Checks if two wrappers differ in their content.

Parameters

lhs - A wrapper, either empty or not.

rhs - A wrapper, either empty or not.

Returns
True if the two wrappers differ in their content, false otherwise.

Source

Lines 566-568 in src/entt/meta/meta.hpp.

[[nodiscard]] inline bool operator!=(const meta_any &lhs, const meta_any &rhs) ENTT_NOEXCEPT {
    return !(lhs == rhs);
}

Synopsis

#include <src/entt/meta/meta.hpp>

bool operator!=(const meta_type &lhs, const meta_type &rhs)

Description

Checks if two objects refer to the same type.

Parameters

lhs - An object, either valid or not.

rhs - An object, either valid or not.

Returns
False if the objects refer to the same node, true otherwise.

Source

Lines 1544-1546 in src/entt/meta/meta.hpp.

[[nodiscard]] inline bool operator!=(const meta_type &lhs, const meta_type &rhs) ENTT_NOEXCEPT {
    return !(lhs == rhs);
}

Synopsis

#include <src/entt/signal/delegate.hpp>

template <typename Ret, typename... Args>
bool operator!=(const delegate< Ret(Args...)> &lhs, const delegate< Ret(Args...)> &rhs)

Description

Compares the contents of two delegates.

Template Parameters

Ret - Return type of a function type.

Args - Types of arguments of a function type.

Parameters

lhs - A valid delegate object.

rhs - A valid delegate object.

Returns
True if the two contents differ, false otherwise.

Source

Lines 327-330 in src/entt/signal/delegate.hpp.

template<typename Ret, typename... Args>
[[nodiscard]] bool operator!=(const delegate<Ret(Args...)> &lhs, const delegate<Ret(Args...)> &rhs) ENTT_NOEXCEPT {
    return !(lhs == rhs);
}





Add Discussion

Log in to comment