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 difference_type = std::ptrdiff_t;
|
||||||
using pointer = T*;
|
using pointer = T*;
|
||||||
using reference = T&;
|
using reference = T&;
|
||||||
// atdna / Apple Clang workaround
|
#ifdef __cpp_lib_concepts
|
||||||
#if __cplusplus > 201703L && !defined(__APPLE__)
|
|
||||||
using iterator_category = std::contiguous_iterator_tag;
|
using iterator_category = std::contiguous_iterator_tag;
|
||||||
#else
|
#else
|
||||||
using iterator_category = std::random_access_iterator_tag;
|
using iterator_category = std::random_access_iterator_tag;
|
||||||
|
|
Loading…
Reference in New Issue