What steps will reproduce the problem? 1. std::vector<Node<xpu> > nodes; 2. nodes.push_back(nfactory.CreateNode()); 3. LOG(INFO)<<"node number "<<nodes.size();
What is the expected output? What do you see instead? nodes first element can be retrieved, however, the address of subsequent elements in the vector is lost
What version of the product are you using? On what operating system? glog latest version, ubuntu12.04
Please provide any additional information below. gcc4.6.3 if use unsigned long int tmp=nodes.size();LOG(INFO)<<"node number "<<tmp; every thing is fine.
Status: New
Labels:
Type-Defect
Priority-Medium