• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //  Copyright John Maddock 2009.
2 //  Distributed under the Boost
3 //  Software License, Version 1.0. (See accompanying file
4 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5 
6 #include <boost/integer.hpp> // must be the only #include!
7 
main()8 int main()
9 {
10    boost::int_fast_t<char>::fast f = 0;
11    (void)f;
12    boost::int_t<16>::fast f2 = 0;
13    (void)f2;
14    boost::int_t<32>::exact e = 0;
15    (void)e;
16    boost::int_t<12>::least l = 0;
17    (void)l;
18    boost::uint_t<16>::fast uf2 = 0;
19    (void)uf2;
20    boost::uint_t<32>::exact ue = 0;
21    (void)ue;
22    boost::uint_t<12>::least ul = 0;
23    (void)ul;
24    boost::int_max_value_t<200>::fast v1 = 0;
25    (void)v1;
26    boost::int_max_value_t<2000>::least v2 = 0;
27    (void)v2;
28    boost::int_min_value_t<-200>::fast v3 = 0;
29    (void)v3;
30    boost::int_min_value_t<-2000>::least v4 = 0;
31    (void)v4;
32    boost::uint_value_t<200>::fast v5 = 0;
33    (void)v5;
34    boost::uint_value_t<2000>::least v6 = 0;
35    (void)v6;
36 }
37