idk
idk copied to clipboard
undefined ztd::ranges::range_element_type_t
I got an error when compile with ztd.text (msvc 19.39 with c++latest) at this line https://github.com/soasis/text/blob/fc30abbc3056a0ea69f2c6ef25221c3244bf31cf/include/ztd/text/detail/span_reconstruct.hpp#L90
Look like ::ztd::ranges::range_element_type_t is undefined when ZTD_IS_ON(ZTD_STD_LIBRARY_RANGES)
at line 882 in adl.hpp is true
https://github.com/soasis/idk/blob/4babfa56ada4c254d7bfba94d402a69ee59730bc/include/ztd/ranges/adl.hpp#L882-L929
I copy line 916 to 891 and it compiles.