lately i m using Visual Studio 2010 express / XP and there is a small compiler error :
error C2440 on ThreadLocalStorage::get(const void* key) in
- Code: Select all
return _map.insert(TLSMap::value_type(key, 0)).first->second;
simple substitution solved problem
- Code: Select all
return _map.insert(TLSMap::value_type(key,nullptr)).first->second;
all the best...





