fix doc example typo
[boost.git] / boost / units / physical_dimensions / area.hpp
blob0d8cb0991e1a7a218779d6f8b3dc0c699aa3df26
1 // Boost.Units - A C++ library for zero-overhead dimensional analysis and
2 // unit/quantity manipulation and conversion
3 //
4 // Copyright (C) 2003-2008 Matthias Christian Schabel
5 // Copyright (C) 2008 Steven Watanabe
6 //
7 // Distributed under the Boost Software License, Version 1.0. (See
8 // accompanying file LICENSE_1_0.txt or copy at
9 // http://www.boost.org/LICENSE_1_0.txt)
11 #ifndef BOOST_UNITS_AREA_DERIVED_DIMENSION_HPP
12 #define BOOST_UNITS_AREA_DERIVED_DIMENSION_HPP
14 #include <boost/units/derived_dimension.hpp>
15 #include <boost/units/physical_dimensions/length.hpp>
17 namespace boost {
19 namespace units {
21 /// derived dimension for area : L^2
22 typedef derived_dimension<length_base_dimension,2>::type area_dimension;
24 } // namespace units
26 } // namespace boost
28 #endif // BOOST_UNITS_AREA_DERIVED_DIMENSION_HPP