mirror of https://github.com/AxioDL/metaforce.git
rstl: Check __cpp_lib_concepts for contiguous_iterator_tag
This commit is contained in:
parent
13663fa304
commit
eb979c9760
|
@ -35,8 +35,7 @@ public:
|
|||
using difference_type = std::ptrdiff_t;
|
||||
using pointer = T*;
|
||||
using reference = T&;
|
||||
// atdna / Apple Clang workaround
|
||||
#if __cplusplus > 201703L && !defined(__APPLE__)
|
||||
#ifdef __cpp_lib_concepts
|
||||
using iterator_category = std::contiguous_iterator_tag;
|
||||
#else
|
||||
using iterator_category = std::random_access_iterator_tag;
|
||||
|
|
Loading…
Reference in New Issue