Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:53:12

0001 // Boost.Units - A C++ library for zero-overhead dimensional analysis and 
0002 // unit/quantity manipulation and conversion
0003 //
0004 // Copyright (C) 2003-2008 Matthias Christian Schabel
0005 // Copyright (C) 2007-2008 Steven Watanabe
0006 //
0007 // Distributed under the Boost Software License, Version 1.0. (See
0008 // accompanying file LICENSE_1_0.txt or copy at
0009 // http://www.boost.org/LICENSE_1_0.txt)
0010 
0011 #ifndef BOOST_UNITS_BASE_UNITS_IMPERIAL_PINT_HPP_INCLUDED
0012 #define BOOST_UNITS_BASE_UNITS_IMPERIAL_PINT_HPP_INCLUDED
0013 
0014 #include <string>
0015 
0016 #include <boost/units/systems/si/volume.hpp>
0017 #include <boost/units/conversion.hpp>
0018 
0019 BOOST_UNITS_DEFINE_BASE_UNIT_WITH_CONVERSIONS(imperial, pint, "pint (imp.)", "pt", 4.54609e-3/8., si::volume, -303);    // exact conversion
0020 
0021 #if BOOST_UNITS_HAS_BOOST_TYPEOF
0022 
0023 #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
0024 
0025 BOOST_TYPEOF_REGISTER_TYPE(boost::units::imperial::pint_base_unit)
0026 
0027 #endif
0028 
0029 #endif // BOOST_UNITS_BASE_UNITS_IMPERIAL_PINT_HPP_INCLUDED