• 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_fwd.hpp> // must be the only #include!
7 
8 // just declare some functions that use the incomplete types in the header:
9 
10 void f1(const boost::integer_traits<char>*);
11 void f2(const boost::int_fast_t<char>*);
12 void f3(const boost::int_t<12>*);
13 void f4(const boost::uint_t<31>*);
14 void f5(const boost::int_max_value_t<100>*);
15 void f6(const boost::int_min_value_t<-100>*);
16 void f7(const boost::uint_value_t<100>*);
17 void f8(const boost::high_bit_mask_t<10>*);
18 void f9(const boost::low_bits_mask_t<10>*);
19 void f10(boost::static_log2_argument_type, boost::static_log2_result_type, boost::static_log2<10>*);
20 void f11(boost::static_min_max_signed_type, boost::static_min_max_unsigned_type);
21 void f12(boost::static_signed_min<1, 2>*, boost::static_signed_max<1,2>*);
22 void f13(boost::static_unsigned_min<1,2>*, boost::static_unsigned_min<1,2>*);
23