Extracted is_iterator trait to a separate header.

Also, reworked is_iterator to be more robust against various corner cases
and added dedicated tests for the type trait.
This commit is contained in:
Andrey Semashev committed 2023-05-21 15:18:54 +03:00
1 parent e8fbd92a61
commit 85b542e1b6
4 files changed
+317 -44

No files matched your search

+2
View File
@@ -26,6 +26,8 @@ test-suite iterator
[ run zip_iterator_test_std_tuple.cpp ]
[ run zip_iterator_test_std_pair.cpp ]
[ run is_iterator.cpp ]
# These tests should work for just about everything.
[ compile is_lvalue_iterator.cpp ]
[ compile is_readable_iterator.cpp ]