Skip to content

Commit

Permalink
Add empty nsrs_REQUIRES_0(), nsrs_REQUIRES_T() for pre-C++11 (#33, th…
Browse files Browse the repository at this point in the history
…anks @Crzyrndm)
  • Loading branch information
martinmoene committed May 20, 2024
1 parent 59616be commit aa9de65
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/nonstd/ring_span.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,11 @@ nsrs_DISABLE_MSVC_WARNINGS( 4345 26439 26440 26472 26473 26481 26490 )
#define nsrs_REQUIRES_T(...) \
, typename std::enable_if< (__VA_ARGS__), int >::type = 0

#else

#define nsrs_REQUIRES_0(...) /*empty*/
#define nsrs_REQUIRES_T(...) /*empty*/

#endif

// includes:
Expand Down

0 comments on commit aa9de65

Please sign in to comment.