[Solved] What does (1) mean when declaring a vector?

[ad_1]

tight_contour is a std::vector object containing elements of type std::vector<cv::Point>. The (1) is constructing tight_contour to hold 1 initial default-constructed element.

0

[ad_2]

solved What does (1) mean when declaring a vector?