If you want to return a fresh vector, don't make it const. Put the const keyword before the *.
std::vector MyClass::GetVecMyObj()
{
return std::vector(_VecMyObjs.begin(), _VecMyObjs.end());
}
I omitted the conversion to TRoadSgmt as you didn't specify the inheritance of this class.