Merge pull request #10589 from patrikhuber:patch-1
authorPatrik Huber <patrikhuber@users.noreply.github.com>
Sat, 17 Feb 2018 11:53:30 +0000 (11:53 +0000)
committerAlexander Alekhin <alexander.a.alekhin@gmail.com>
Sat, 17 Feb 2018 11:53:30 +0000 (14:53 +0300)
commit7be0c785338db8f615bc8f5de7cd173f5d30dc63
treec8632370574327e49059065a488b476ddadd5dba
parent0e4eed0ba178f6f83e59dd4149ceebf5cc95fc98
Merge pull request #10589 from patrikhuber:patch-1

* Make <array> #ifdef true for MSVC

I think MSVC had `std::array` for quite a while (possibly going back as far as VS 2012, but it's definitely there in 2015 and 2017. So I think `_MSC_VER` `1900` is a safe bet. Probably `1800` and maybe even `1700` could work as well but I can't test that locally.

* fix test
modules/core/include/opencv2/core/cvdef.h
modules/core/test/test_mat.cpp