A
Armin Menzel
The function getVOVector() returns a vector of type vector<TestVO>.
This works:
vector<TestVO> lvTestVOs = loVectorHandler.getVOVector();
That works NOT:
vector<TestVO> lvTestVOs;
lvTestVOs = loVectorHandler.getVOVector();
Why?
Thanks
Armin
P.S.: This is the only operator TestVO has:
TestVO& TestVO:perator=(TestVO& aoTestVO) {
msName = aoTestVO.getName();
return *this;
}
Do I need more?
(I am new to c++-vectors, so forgive me the ugly question)
This works:
vector<TestVO> lvTestVOs = loVectorHandler.getVOVector();
That works NOT:
vector<TestVO> lvTestVOs;
lvTestVOs = loVectorHandler.getVOVector();
Why?
Thanks
Armin
P.S.: This is the only operator TestVO has:
TestVO& TestVO:perator=(TestVO& aoTestVO) {
msName = aoTestVO.getName();
return *this;
}
Do I need more?
(I am new to c++-vectors, so forgive me the ugly question)