mclow.lists added a comment. Usage looks like this:
AssertComparisons6AreNoexcept<month>(); AssertComparisons6ReturnBool<month>(); static_assert(testComparisons6Values<month>( 5U, 5U), ""); static_assert(testComparisons6Values<month>( 5U, 10U), ""); static_assert(testComparisons6Values<month>(10U, 5U), ""); https://reviews.llvm.org/D49773 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits