mirror of
https://github.com/boostorg/callable_traits.git
synced 2026-02-13 00:12:11 +00:00
removing is_overloaded, using one header per trait
This commit is contained in:
@@ -20,15 +20,15 @@ int main() {
|
||||
|
||||
{
|
||||
using test = ct::no_sfinae::args<foo>;
|
||||
using expect = std::tuple<ct::unknown>;
|
||||
using expect = ct::invalid_type;
|
||||
static_assert(std::is_same<test, expect>{}, "");
|
||||
} {
|
||||
using test = ct::no_sfinae::function_type<foo>;
|
||||
using expect = ct::unknown(ct::unknown);
|
||||
using expect = ct::invalid_type;
|
||||
static_assert(std::is_same<test, expect>{}, "");
|
||||
} {
|
||||
using test = ct::no_sfinae::result_of<foo>;
|
||||
using expect = ct::unknown;
|
||||
using expect = ct::invalid_type;
|
||||
static_assert(std::is_same<test, expect>{}, "");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user