There are 12 different qualifiers that can go on functions.

  const
  volatile
  &
  &&

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).


http://reviews.llvm.org/D7573

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/



_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to