Skip to content

Commit

Permalink
C++17 range-based-for is enabled unconditionally on VS2017
Browse files Browse the repository at this point in the history
  • Loading branch information
CaseyCarter committed Mar 28, 2017
1 parent 00ed689 commit 2695c77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/range/v3/detail/config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
#ifndef RANGES_CXX_ATTRIBUTE_DEPRECATED
#define RANGES_CXX_ATTRIBUTE_DEPRECATED RANGES_CXX_ATTRIBUTE_DEPRECATED_14
#endif
#if !defined(RANGES_CXX_RANGE_BASED_FOR) && defined(_MSVC_LANG) && _MSVC_LANG > 201402
#if !defined(RANGES_CXX_RANGE_BASED_FOR) && (_MSC_VER >= 1910 || (defined(_MSVC_LANG) && _MSVC_LANG > 201402))
#define RANGES_CXX_RANGE_BASED_FOR RANGES_CXX_RANGE_BASED_FOR_17
#endif
#ifndef RANGES_CXX_LIB_IS_FINAL
Expand Down

0 comments on commit 2695c77

Please sign in to comment.