https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93983
gcc-bugs at marehr dot dialup.fu-berlin.de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gcc-bugs at marehr dot dialup.fu-b | |erlin.de --- Comment #6 from gcc-bugs at marehr dot dialup.fu-berlin.de --- It seems that I hit the same issue when making us of ranges: ```c++ #include <filesystem> #include <ranges> static_assert(std::input_iterator<int *>); struct alignment_file_input { alignment_file_input(std::filesystem::path); template <typename stream_t> alignment_file_input(stream_t); int* begin(); int* end(); }; static_assert(std::ranges::input_range<alignment_file_input>); int main() { alignment_file_input fin{int{}}; auto && view = fin | std::views::take(1); } ``` https://godbolt.org/z/__hw9w