Image

Imagelupinehunter wrote in Imagecpp

Listens: Pantera - This Love

std::map question


std::map<int, void *> m;

bool answer = (m[5] == NULL ? true : false);



Does answer's value always have to be true (thus, the void pointer to be NULL) according to STL?

[edited logic error]