Suppose I have the following class in a header file
//tray.h
#include <vector>
#include "Eggs.h"
#ifndef TRAY_H
#define TRAY_H
class Tray{
std::vector<Eggs> dozen;
public:
Tray();
~Tray();
std::vector<Eggs> getTray() const;
};
#endif
And the following class file
//tray.cpp
#include "Tray.h"
#include <string>
Tray::Tray(){
}
Tray::~Tray(){
}
How do I initialize the vector dozen in the class?