std::vector<std::vector<int>> linesGrid(64, std::vector<int>(48));
Trying to have a good understanding of this line of code so opened a new question for it.
I am looking at cplusplus.com and do not really get a good grip of this problem.
Here are constructors:
1. explicit vector ( const Allocator& = Allocator() );
2. explicit vector ( size_type n, const T& value= T(), const Allocator& = Allocator() );
3. template <class InputIterator>
vector ( InputIterator first, InputIterator last, const Allocator& = Allocator() );
4. vector ( const vector<T,Allocator>& x );
Now I try to understand these constructors.
ad 1. Let's start with the first one (once I get this one, it should help with the others!)
"const Allocator& = Allocator()"
What does it mean?