callable_traits
callable_traits copied to clipboard
modern C++ type traits and metafunctions for callable types
A basic example is below. Both tests for return_type and args produces. ``` error: no type named ‘type’ in ‘struct boost::callable_traits::error::return_type::_ ``` It's not clear if this is intentional on...
Hi, Thank you for the huge job of considering every corner case. You have already added tools for trailing arguments (varargs). Is it possible to add/remove a "this" argument type...
I do not understand where in the implementation there is functionality for classifying types. In the function_types library there are numerous metafunctions for testing whether a given type is a...
Opened to track comment in https://lists.boost.org/Archives/boost/2017/04/234374.php: > I've a feeling that it might also be useful to provide an extractor that, for member pointers, returns just the arguments without the...
Taken from https://lists.boost.org/Archives/boost/2017/04/234374.php: >> In "member qualifier features", I'm missing `remove_member_cv_ref` (obvious semantics) and `copy_member_cv_ref` (copies cv+ref from one member pointer to another.) and your reply in https://lists.boost.org/Archives/boost/2017/04/234446.php: > I'm...
Sigh. This isn't easy to fix, but it also shouldn't affect anyone's real-world code.
From https://lists.boost.org/Archives/boost/2017/04/234374.php: > It would also _probably_ make sense to provide `apply_qualified_member_pointer`, which, given `void(float)` and `foo const&`, would yield `void (foo::*)(float) const&`.
from http://lists.boost.org/Archives/boost/2017/04/234173.php
from http://lists.boost.org/Archives/boost/2017/04/234167.php
from http://lists.boost.org/Archives/boost/2017/04/234167.php also http://lists.boost.org/Archives/boost/2017/04/234190.php