typedef
vector<string> pipeline;
typedef
vector<pipeline> subPipelineStrings;
subPipelineStrings* m_subPipelineStrings
m_subPipelineStrings =
new subPipelineStrings(3);
string *s1 = new string("s1");
string *s2 = new string("s2");
string *s3 = new string("s3");
for (int i = 0; i < m_subPipelineStrings ->size();++i)
{
pipeline &p = m_subPipelineStrings->at(i);
p.push_back(*s1) ;
p.push_back(*s2) ;
p.push_back(*s3) ;
}
The question : How do i destruct m_subPipelineStrings ?
Thank you in advance!