Skip to content

Commit

Permalink
Fix macro span_IN_STD (#32, thanks to @Flamefire)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinmoene committed Jan 16, 2019
1 parent 96e720c commit cef464f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/nonstd/span.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@

#define span_CPLUSPLUS_V ( span_CPLUSPLUS / 100 - (span_CPLUSPLUS > 200000 ? 2000 : 1994) )

#define span_IN_STD( v ) ( (v) == 98 || (v) >= span_CPLUSPLUS_V )
#define span_IN_STD( v ) ( ((v) == 98 ? 3 : (v)) >= span_CPLUSPLUS_V )

#define span_CONFIG( feature ) ( span_CONFIG_##feature )
#define span_FEATURE( feature ) ( span_FEATURE_##feature )
Expand Down

0 comments on commit cef464f

Please sign in to comment.