Function operator!=

Summary

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

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

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

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

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

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

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

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

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

Function overload

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) noexcept

Description

Compares two hashed strings.

Template Parameters:

Char - Character type.

Parameters:

lhs - A valid hashed string.

rhs - A valid hashed string.

Return
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/entity/entity.hpp>

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

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.

Return
True if the two elements differ, false otherwise.

Source

Lines 170-173 in src/entt/entity/entity.hpp.

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

Synopsis

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

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

Description

Checks if two wrappers differ in their content.

Parameters:

lhs - A meta any object, either empty or not.

rhs - A meta any object, either empty or not.

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

Source

Lines 522-524 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) noexcept

Description

Checks if two meta objects refer to the same type.

Parameters:

lhs - A meta object, either valid or not.

rhs - A meta object, either valid or not.

Return
False if the two meta objects refer to the same node, true otherwise.

Source

Lines 1514-1516 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) noexcept

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.

Return
True if the two contents differ, false otherwise.

Source

Lines 328-331 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