example:
*.proto =========================
message Element{

}

message Path{
    repeated Element element;
}

*.cpp =========================
Path path;
Element* ele = new Element();
if( condition ){
    delete ele;
}else{
    //add ele to path,how can I do?
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to