Home > Q&A > body text
using namespace std;using namespace cv;
C++程序,使用了opencv,上面是头文件和命名空间,程序里有vector,为啥不报错,能正常编译运行?
伊谢尔伦2017-04-17 13:07:02
Because OpenCV has cv::vector…
巴扎黑2017-04-17 13:07:02
does not exist. .
ringa_lee2017-04-17 13:07:02
There should be code similar to this in opencv
namespace cv {using std::vector;}
高洛峰2017-04-17 13:07:02
You are using cv::vector, not std::vector
Home
Course
Q&A
My