C
Chris Forone
Hello group,
g++ (3.4.2, mingw):
float init[] = {1.f, 2.f, 3.f};
std::map<std::string, std::valarray<float> > mp;
mp["name"] = std::valarray(init, 3);
mp["name"].size(); // should be 3, but IS 0!
Do i ignored something? Does map not do a copy of value?
HAND, Chris
g++ (3.4.2, mingw):
float init[] = {1.f, 2.f, 3.f};
std::map<std::string, std::valarray<float> > mp;
mp["name"] = std::valarray(init, 3);
mp["name"].size(); // should be 3, but IS 0!
Do i ignored something? Does map not do a copy of value?
HAND, Chris