• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef DOUBLE_NUMBER_HPP
2 #define DOUBLE_NUMBER_HPP
3 
4 // Copyright Abel Sinkovics (abel@sinkovics.hu)  2012.
5 // Distributed under the Boost Software License, Version 1.0.
6 //    (See accompanying file LICENSE_1_0.txt or copy at
7 //          http://www.boost.org/LICENSE_1_0.txt)
8 
9 #include <boost/mpl/int.hpp>
10 #include <boost/mpl/times.hpp>
11 
12 template <class N>
13 struct double_number :
14   boost::mpl::times<typename N::type, boost::mpl::int_<2> >
15 {};
16 
17 #endif
18 
19