foxtacles / vaultmp

Multiplayer mod for the PC version of Fallout 3
http://www.vaultmp.com/
Other
128 stars 47 forks source link

"using namespace std" is bad practice #150

Closed BlackPhrase closed 6 years ago

BlackPhrase commented 6 years ago

@foxtacles , I think you know about that? Did you use it in order to have a possibility to replace the usage of Standard STL with something else (some other implementation like EASTL for example)? I think it would be better to have a config file which will contain the typedefs for usage of std/non-std impls like:

#ifdef VAULTMP_USE_CUSTOM_STD
    using tVector = customstl::vector;
#else
    using tVector = std::vector;
#endif