diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-08-25 21:25:09 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-08-30 15:07:05 (GMT) |
commit | 2b4c32c95f9cd3282ee834a2d7eeba9ab56eff0b (patch) | |
tree | 23d2e31296e0d358290e976d9341e3c1b227c484 /Tests/CompileFeatures/cxx_variadic_templates.cpp | |
parent | 82d9bbf2b713de4db2810c202db26c4b18a22e9c (diff) | |
download | CMake-2b4c32c95f9cd3282ee834a2d7eeba9ab56eff0b.zip CMake-2b4c32c95f9cd3282ee834a2d7eeba9ab56eff0b.tar.gz CMake-2b4c32c95f9cd3282ee834a2d7eeba9ab56eff0b.tar.bz2 |
clang-format: format all code as Cpp11
Diffstat (limited to 'Tests/CompileFeatures/cxx_variadic_templates.cpp')
-rw-r--r-- | Tests/CompileFeatures/cxx_variadic_templates.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Tests/CompileFeatures/cxx_variadic_templates.cpp b/Tests/CompileFeatures/cxx_variadic_templates.cpp index 3dc2570..6951230 100644 --- a/Tests/CompileFeatures/cxx_variadic_templates.cpp +++ b/Tests/CompileFeatures/cxx_variadic_templates.cpp @@ -35,7 +35,7 @@ struct eval }; template <template <typename...> class T, typename... U> -struct eval<T<U...> > +struct eval<T<U...>> { enum { @@ -62,11 +62,11 @@ struct D // Note: This test assumes that a compiler supporting this feature // supports static_assert. Add a workaround if that does not hold. -static_assert(eval<A<> >::Matched, "A Matches"); -static_assert(eval<A<int> >::Matched, "A Matches"); -static_assert(eval<A<int, char> >::Matched, "A Matches"); -static_assert(eval<B<int> >::Matched, "B Matches"); -static_assert(eval<C<int, char> >::Matched, "C Matches"); -static_assert(eval<D<int, char> >::Matched, "D Matches"); -static_assert(eval<D<int, char, bool> >::Matched, "D Matches"); -static_assert(eval<D<int, char, bool, double> >::Matched, "D Matches"); +static_assert(eval<A<>>::Matched, "A Matches"); +static_assert(eval<A<int>>::Matched, "A Matches"); +static_assert(eval<A<int, char>>::Matched, "A Matches"); +static_assert(eval<B<int>>::Matched, "B Matches"); +static_assert(eval<C<int, char>>::Matched, "C Matches"); +static_assert(eval<D<int, char>>::Matched, "D Matches"); +static_assert(eval<D<int, char, bool>>::Matched, "D Matches"); +static_assert(eval<D<int, char, bool, double>>::Matched, "D Matches"); |