Closed hikarin522 closed 4 years ago
Could you describe the issues that this PR is targeting? function2 is a C++14 library mainly due to the usage of auto return types and _t
traits and should not compile in-std=c++11
mode anyway, and the uses of constexpr
here are valid in C++14.
Did you check whether this works with MSVC as well? I would merge this PR if you remove the boost header inclusion and entirely rely on a custom check for MSVC, Clang and GCC.
@Naios
What was a problem?
A compile error will occur in c++11.
How this PR fixes the problem?
Add FU2_CXX14_CONSTEXPR which has the same function as BOOST_CXX14_CONSTEXPR.