Skip to content

Commit 400a9ac

Browse files
committed
add TODO:
1 parent ee4fc36 commit 400a9ac

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/utki/utility.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,10 @@ iterator_type prev(iterator_type iter, size_t n)
110110
*/
111111
// TODO: for C++20 write concept constraints to only allow contiguous containers
112112
template <typename contiguous_type>
113+
#if CFG_CPP >= 20
114+
// TODO: uncomment when utki::span::iterator satisfies the std::contiguous_iterator concept
115+
// requires std::contiguous_iterator<typename contiguous_type::iterator>
116+
#endif
113117
// NOLINTNEXTLINE(cppcoreguidelines-missing-std-forward, "")
114118
decltype(std::declval<contiguous_type>().data()) end_pointer(contiguous_type&& contiguous_container)
115119
{

0 commit comments

Comments
 (0)