3 constexpr T my_pi
= T(3.1415926535897932385L); // variable template
5 template <> constexpr char my_pi
<char> = '3'; // variable template specialization
9 template <typename U
> static constexpr U my_const
= U(1);
10 // Variable template partial specialization with member variable.
11 template <typename U
> static constexpr U
*my_const
<const U
*> = (U
*)(0);
14 constexpr char a
[] = "hello";
16 template <> template <>
17 constexpr const char *Wrapper
<float>::my_const
<const char *> = a
;