3 ms·
Well, boost::filesystem exists for ages...
by meetingcpp 11y ago
Well, boost::filesystem exists for ages...
- vvanders 11y agoBut how many million lines of header files do you need to pull in to use it?
- zanny 11y agoProbably as many millions of lines the C++ standard will use, since its based on boost::filesystem. A lot of these proposals and the changes in C++ this decade have just been standardizing slightly modified versions of Boost libraries.
- sseagull 11y ago>Probably as many millions of lines the C++ standard will use, since its based on boost::filesystem. Not necessarily. A lot of boost contains workarounds for compilers that don't support certain features. Since the standard library will be expected to be used with a known compiler (or at least a new-ish compiler), it doesn't need workarounds for missing C++11 support, etc.
- CountSessine 11y agoThe biggest problem with Boost isn't simply the number of headers - it's maintaining the built libraries against your compiler. "Let's upgrade to MSVC 2015!" "Oh nuts, our code now links against msvcrtp13.dll and our built boost_filesystem.dll still links against msvcrtp12.dll. Time to rebuild all of our libraries!" This is especially bad on Windows where MS's dev tools team just didn't 'get' that developers just don't care about new CRT optimizations if it means rebuilding all of our 3rd party libraries. But even on OSX there's been the whole libstdc++/libc++ pain. Anything that can get folded into the standard library and maintained by the same jokers who rev msvcrt*.dll every couple of years (rub their noses in their own mess) is good.