I am on Windows, and suppose I want to use different implementation of standard C++ library for my projects - say, libstdc++ or libc++.
- Is there a way to persuade my Visual Studio to use it instead of MSVC library, so I can still use
#include <algorithm>
and not#include <custom/algorithm>
? I believe that I can achieve it by simply adding path to my headers into project, but I am looking for more "system-wise" way, so I wouldn't repeat it for every single project. - Will it actually worth the hassle - specifically in terms of modern C++ features being available / standart-compliant?
- If so, what would be cons of such replacement, apart of possibility to use some features that are not present in other implementations?
- Particulary, answers to this question mention that there may be compatibility issues with other libs - does this apply only to Linux world, or will I have problems on Windows too?
Note: this is mostly a theoretical question - I'm fine with MSVC library, but I'd really like to know more about different stdlib implementations.