File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 17
17
# error "Bitcoin cannot be compiled without assertions."
18
18
#endif
19
19
20
- // Assumption: We assume a C++11 (ISO/IEC 14882:2011 ) compiler (minimum requirement).
21
- // Example(s): We assume the presence of C++11 features everywhere :-)
20
+ // Assumption: We assume a C++17 (ISO/IEC 14882:2017 ) compiler (minimum requirement).
21
+ // Example(s): We assume the presence of C++17 features everywhere :-)
22
22
// Note: MSVC does not report the expected __cplusplus value due to legacy
23
23
// reasons.
24
24
#if !defined(_MSC_VER)
25
- // ISO Standard C++11 [cpp.predefined]p1:
26
- // "The name __cplusplus is defined to the value 201103L when compiling a C++
25
+ // ISO Standard C++17 [cpp.predefined]p1:
26
+ // "The name __cplusplus is defined to the value 201703L when compiling a C++
27
27
// translation unit."
28
- static_assert (__cplusplus >= 201103L , " C++11 standard assumed" );
28
+ static_assert (__cplusplus >= 201703L , " C++17 standard assumed" );
29
29
#endif
30
30
31
31
// Assumption: We assume the floating-point types to fulfill the requirements of
You can’t perform that action at this time.
0 commit comments