Open stevenwdv opened 8 months ago
In C++ 20, e.g. rxu::is_hashable<std::string> unexpectedly returns false because std::hash<T>::result_type and ::argument_type were removed (cppreference, P0619R2). See definition of is_hashable: https://github.com/ReactiveX/RxCpp/blob/761b932a80e2be6e2b62d232e754bd96fc448946/Rx/v2/src/rxcpp/rx-util.hpp#L1022-L1028
rxu::is_hashable<std::string>
std::hash<T>::result_type
::argument_type
is_hashable
This means functions like observable<T>::distinct() do not work anymore.
observable<T>::distinct()
In C++ 20, e.g.
rxu::is_hashable<std::string>
unexpectedly returns false becausestd::hash<T>::result_type
and::argument_type
were removed (cppreference, P0619R2). See definition ofis_hashable
: https://github.com/ReactiveX/RxCpp/blob/761b932a80e2be6e2b62d232e754bd96fc448946/Rx/v2/src/rxcpp/rx-util.hpp#L1022-L1028This means functions like
observable<T>::distinct()
do not work anymore.