class ItemT {
};
vector<ItemT> items(10);
ItemT data[10];
class ItemT{
ItemT();
...
};
...
ItemT foo();
ItemT myItem{}; is the proper way to call the default constructor.
ItemT myItem; is acceptable as well.
ItemT() = default;
ItemT() = delete;
Name(params): data1(value), data2{value}, ... { // function def}
// .h file
foo(int a =7);
bar(int a);
// .cpp
foo(int a)
bar(int a = 7);