Original Post
Okay im using a map with String key and a pointer to a Texture object, but when i try to acess the Texture object with the string key, it says it doesnt exist, ill just give you relevent parts of the code: this is how i create the map: this is how i add to the map: and this is how i request it(this is where is says it's not there):
std::map<string, lTexture*> TextureList;
TextureList.insert(pair<string, lTexture*>("mega.dds",new lTexture()));
TextureList["mega.dds"]->Set();