1 | initial version |
in this case it's a binary shift, 1 gets bitwise shifted to the left.
(1 << 16) === (2 ** 16) === pow(2,16) = 65536
but beware, the << and the >> operators are overloaded multiple times (e.g for io)
cout << "l2l2l2";
int n; cin >> n;
or for special operations, as in here:
Mat dm = (Mat_<double>(2,2) << 1.0, 0.0, 3.0, -1.0); // 2x2 double mat with initaialization list