diff options
Diffstat (limited to 'boost/chrono/typeof/boost/ratio.hpp')
-rw-r--r-- | boost/chrono/typeof/boost/ratio.hpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/boost/chrono/typeof/boost/ratio.hpp b/boost/chrono/typeof/boost/ratio.hpp new file mode 100644 index 0000000000..4438a4f9dc --- /dev/null +++ b/boost/chrono/typeof/boost/ratio.hpp @@ -0,0 +1,26 @@ +////////////////////////////////////////////////////////////////////////////// +// +// (C) Copyright Vicente J. Botet Escriba 20010. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or +// copy at http://www.boost.org/LICENSE_1_0.txt) +// +// Based on the unique_threader/unique_joiner design from of Kevlin Henney (n1883) +// +// See http://www.boost.org/libs/chrono for documentation. +// +////////////////////////////////////////////////////////////////////////////// + +#ifndef BOOST_CHRONO_TYPEOF_RATIO_HPP +#define BOOST_CHRONO_TYPEOF_RATIO_HPP + +#include <boost/ratio/ratio.hpp> +#define BOOST_TYPEOF_SILENT + +#include <boost/typeof/typeof.hpp> + +#include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP() + +BOOST_TYPEOF_REGISTER_TEMPLATE(boost::ratio, (boost::intmax_t)(boost::intmax_t)) + +#endif |