call to constructor can be considered as function declaration?
问题 The next few lines I'm going to write come from the book "The C++ Standard Library - A tutorial and reference". Initialize by using standard input: //read all integer elements of the deque from standard input std::deque<int> c((std::istream_iterator<int>(std::cin)), (std::istream_iterator<int>())); Don't forget the extra parentheses around the initializer arguments here. Otherwise, this expression does something very different and you probably will get some strange warnings or errors in