martin@M2037:~/Desktop/$clang++ test.cpp -otest-Wall -std=c++17test.cpp:13:30: error: variable 'THRESHOLD' cannot be implicitly captured in a lambda with no capture-default specifiedreturn lessThan(lhs - rhs, THRESHOLD);^test.cpp:9:18: note: 'THRESHOLD' declared hereconstexpr float THR...
cannot be constexpr because the corresponding implicitly declared default constructor would not be constexpr /usr/local/include/boost/core/noncopyable.hpp(42): error: defaulted default constructor cannot be constexpr because the corresponding implicitly declared default constructor would not be constexpr ...