1.

What Is The Difference Between Std::vector<int> X; And Std::vector<int> X();?

Answer»

FIRST one declares a variable x of type STD::vector&LT;INT>. SECOND one declares a function x which returns std::vector<int>.

First one declares a variable x of type std::vector<int>. Second one declares a function x which returns std::vector<int>.



Discussion

No Comment Found