Comments (2)
Thanks for the thorough bug report @ldionne.
Fixed via 16f6e2b. Since we already have good SFINAE test coverage -- we test SFINAE-ability for both lazy and eager traits using the same macro (edit: my ifdef is backwards -- oh well, same effect) -- I did not add test cases for SFINAE laziness. I may add some in the future, but I'm not very worried about it. The above mpl::eval_if
example works anecdotally.
Tests passed on AppVeyor for MSVC and Travis for GCC and Clang.
The above CI links are from my personal fork, because the Boost CI queue is painfully long.
from callable_traits.
I'll let this sit on the develop branch for a bit so I can see if I broke the docs anywhere.
from callable_traits.
Related Issues (20)
- Fix noexcept specialization on function pointers HOT 3
- Fix c++ version selection for Boost.Build CI with GCC < 5
- is_transaction_safe for MSVC compatibility documented incorrectly HOT 1
- Setup travis to work with boostorg CI
- is_invocable should return false for CV-qualified function types HOT 1
- is_invocable<void(foo::*)()const&&, foo>::value should be true HOT 1
- is_invocable is broken for operator() having different signatures for & vs. &&
- CR+LF line endings in repo HOT 1
- add_member_lvalue_ref. and add_member_rvalue_ref. docs include "detail" code HOT 1
- add clang 5, 6 to compatibility table HOT 1
- Specification of function qualifier traits for function pointer and reference types HOT 3
- is_invocable is broken for operator() without parameters HOT 2
- CMake inconsistency, use namespace Boost::callable_traits as library name HOT 4
- is_invocable_v is broken HOT 2
- Classifying types HOT 1
- Any chance for "add_class" and "remove_class"? HOT 1
- callable_traits does not appear to work with c++20 std::bind_front HOT 1
- Got MSVC error C2248 when I use unique_function with boost::callable_traits::is_invocable HOT 1
- Modular Boost C++ Libraries Request HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from callable_traits.