[PATCH] [libc++] Fix PR20084 - std::is_function<void() const> failed.
mclow.lists at gmail.com
Tue Feb 17 09:39:06 PST 2015
There are 12 different qualifiers that can go on functions.
Since `&` and `&&` are mutually exclusive, that leaves 12 different possibilities.
I only see tests for four here.
I'd love a `remove_qualifiers` type trait that took a function type and returned the unqualified type. That would be useful in several places; but the only way I've figured out how to do it involves tons of specializations (and even more for the non-variadic compilers).
More information about the cfe-commits