Namespaces | |
namespace | detail |
namespace | ranges |
Classes | |
struct | hash<::ein::basic_static_string< CharT, Traits > > |
struct | hash<::ein::static_c_string > |
class | numeric_limits< ein::bf16 > |
class | numeric_limits< ein::fp16 > |
struct | tuple_element< I, ein::simd< T, N > > |
needed to support for std::apply More... | |
struct | tuple_size< ein::simd< T, N > > |
Functions | |
constexpr bool | isnan (ein::bf16 x) noexcept |
constexpr bool | isnan (ein::fp16 x) noexcept |
template<typename T > | |
constexpr auto | forward_like (auto &&x) noexcept -> detail::forward_like_t< T, decltype(x)> |
Returns a reference to x which has similar properties to T&&. | |
|
nodiscardconstexprnoexcept |
Returns a reference to x which has similar properties to T&&.
The return type is determined as below:
If std::remove_reference_t<T>
is a const
-qualified type, then the referenced type of the return type is const std::remove_reference_t<U>
. Otherwise, the referenced type is std::remove_reference_t<U>
.
If T&&
is an lvalue reference type, then the return type is also an lvalue reference type.
Otherwise, the return type is an rvalue reference type.
If T is not a referenceable type, the program is ill-formed.
T | the type to copy qualifications from |
x | a value needs to be forwarded like type T |
__cpp_lib_forward_like
Definition at line 53 of file forward_like.hpp.
|
constexprnoexcept[[nodiscard]][[artificial]][[always_inline]][[const]] |
Definition at line 131 of file bf16.hpp.
Referenced by ein::cmp_ord(), ein::cmp_unord(), and ein::scalef().