-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
defect macro for C++17 feature std::invoke()
#98
Conversation
My only complaint about this PR is that clang with libstdc++ pulls in unconditionally - we've worked pretty hard not to pull in large std lib headers like that, is there any way around this? Any new headers in 6.1 we can test for? |
maybe |
<experimental/filesystem> was present in gcc-5.3.0, however there are a number of experimental C++17 headers new in gcc-6.1.0, and <experimental/memory_resource> looks like a good candidate? |
hmm - I used 'GCC 6 Release Series Changes, New Features, and Fixes' (https://gcc.gnu.org/gcc-6/changes.html) : 'An experimental implementation of the File System TS.' I can't find a header usable for our purposes. Maybe we could use the support for mathematical special functions (ISO/IEC 29124:2010), e.g. test __STDCPP_MATH_SPEC_FUNCS__for value 201003L. |
On 20/10/2016 11:53, Oliver Kowalke wrote:
What was wrong with <experimental/memory_resource> ? It doesn't get explicitly mentioned in the release notes, but there are
|
use <experimental/memory_resource> instead of <experimental/filesystem> to check for libstdc++ 6.1
changed to |
We have a bit of an issue with this one that I'm not sure what to do about: the original specification of
I'm asking because @NAThompson has some changes to Boost.Math which (probably) require the "fully conforming" meaning. |
See also: #221 |
BOOST_NO_STD_INVOKE should test for std::invoke conformance |
So: just for the avoidance of doubt - does that mean you're OK with the changes? |
Yes, I've made some modifications and "Travis Build #56" passed. |
No description provided.