mirror of
https://github.com/opencv/opencv.git
synced 2024-12-01 06:49:50 +08:00
14 lines
209 B
C++
14 lines
209 B
C++
#if __cplusplus >= 201103L || (defined(_MSC_VER) && _MSC_VER >= 1600)
|
|
// OK
|
|
#else
|
|
#error "C++11 is not supported"
|
|
#endif
|
|
|
|
static int test() { return 0; }
|
|
|
|
int main()
|
|
{
|
|
auto res = test();
|
|
return res;
|
|
}
|