News for hackers. Stuff that matters.
Re:Libnop: C++ Native Object Protocols by sytelus on Saturday October 06, 2018 @02:33AM (#18153855)
Why C++14 dependency? A lot of other projects are still stuck on C++11 because of variety of reasons. It's sad to see this dependency :(.
Re:Libnop: C++ Native Object Protocols by coreytabaka on Saturday October 06, 2018 @02:54AM (#18153921)
I tried to keep it C++11, but generalized lambdas are critical in important use cases (see nop::Variant). Besides, GCC and Clang have solid C++14 support. C++17 is another story... ;-)
Re:Libnop: C++ Native Object Protocols by sytelus on Saturday October 06, 2018 @06:05AM (#18154370)
The problem is not compiler support but the fact library is going to get used with other code base that is still C++11. Typically projects build system will enforce this and it’s hard to change without full evaluation of all dependencies. Is it possible to add support for C++11 and turn of these additional features that might not get used?