Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions src/generic_adapters.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,13 @@ class IndexedListItemAccessorImpl : public IListItemAccessor, public IIndexBased
public:
using BaseClass = IndexedEnumeratorImpl<Enumerator, ThisType, Value, IListEnumerator>;
#if defined(_MSC_VER)

#if __cplusplus < 202002L
using IndexedEnumeratorImpl::IndexedEnumeratorImpl;
#else
using IndexedEnumeratorImpl<Enumerator, ThisType, Value, IListEnumerator>::IndexedEnumeratorImpl;
#endif

#else
using BaseClass::BaseClass;
#endif
Expand Down Expand Up @@ -141,7 +147,13 @@ class IndexedListAccessorImpl : public IListAccessor, public IndexedListItemAcce
public:
using BaseClass = IndexedEnumeratorImpl<Enumerator, ThisType, InternalValue, IListAccessorEnumerator>;
#if defined(_MSC_VER)

#if __cplusplus < 202002L
using IndexedEnumeratorImpl::IndexedEnumeratorImpl;
#else
using IndexedEnumeratorImpl<Enumerator, ThisType, InternalValue, IListAccessorEnumerator>::IndexedEnumeratorImpl;
#endif

#else
using BaseClass::BaseClass;
#endif
Expand Down