3 // Copyright (C) 2001 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 25 April 2001 <nathan@codesourcery.com>
5 // Origin:pcarlini@unitus.it
7 // Bug 2559. We hadn't implemented code to mangle numbers bigger than
10 template<class T, T min_val, T max_val>
11 class integer_traits_base
14 static const bool is_integral = true;
21 static const bool is_integral = false;
25 class integer_traits<long long>
26 : public integer_traits_base<long long, (-9223372036854775807LL - 1),
27 9223372036854775807LL>
30 integer_traits<long long> f;
32 template <class T, T value> T foo ()
39 foo<long long, -9223372036854775807LL> ();