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) constexpr 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... Args, typename... Other>
    bool operator!=(const basic_handle< Args... > &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/resource/resource.hpp>

(9) template <typename ILhs, typename IRhs>
    bool operator!=(const resource< ILhs > &lhs, const resource< IRhs > &rhs)

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

(10) 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 401-404 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 differ, false otherwise.

Source

Lines 247-250 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>

constexpr 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 type info objects differ, false otherwise.

Source

Lines 198-200 in src/entt/core/type_info.hpp.

[[nodiscard]] inline constexpr 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 identifier of any type.

Template Parameters

Entity - Type of identifier.

Parameters

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 235-238 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 identifier of any type.

Template Parameters

Entity - Type of identifier.

Parameters

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 314-317 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... Args, typename... Other>
bool operator!=(const basic_handle< Args... > &lhs, const basic_handle< Other... > &rhs)

Description

Compares two handles.

Template Parameters

Args - Scope of the first handle.

Other - Scope of the second handle.

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 319-322 in src/entt/entity/handle.hpp.

template<typename... Args, typename... Other>
[[nodiscard]] bool operator!=(const basic_handle<Args...> &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 577-579 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 1349-1351 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/resource/resource.hpp>

template <typename ILhs, typename IRhs>
bool operator!=(const resource< ILhs > &lhs, const resource< IRhs > &rhs)

Description

Compares two handles.

Template Parameters

Res - Type of resource managed by the first handle.

Other - Type of resource managed by the second handle.

Parameters

lhs - A valid handle.

rhs - A valid handle.

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

Source

Lines 181-184 in src/entt/resource/resource.hpp.

template<typename ILhs, typename IRhs>
[[nodiscard]] bool operator!=(const resource<ILhs> &lhs, const resource<IRhs> &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 310-313 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