Simple-Utility v2.3.1
Loading...
Searching...
No Matches
sl::concepts::not_same_as Concept Reference

Checks whether the left-hand-side type is unequal to the right-hand-side type. More...

#include <stl_extensions.hpp>

Concept definition

template<class TLhs, class TRhs>
concept sl::concepts::not_same_as = !std::same_as<TLhs, TRhs>
Checks whether the left-hand-side type is unequal to the right-hand-side type.
Definition: stl_extensions.hpp:69

Detailed Description

Checks whether the left-hand-side type is unequal to the right-hand-side type.

This is the inverted counterpart of std::same_as concept.

Template Parameters
TLhsThe source type handed over to the target
TRhsThe target type to check