diff options
Diffstat (limited to 'boost/geometry/algorithms/detail/signed_size_type.hpp')
-rw-r--r-- | boost/geometry/algorithms/detail/signed_size_type.hpp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/boost/geometry/algorithms/detail/signed_size_type.hpp b/boost/geometry/algorithms/detail/signed_size_type.hpp new file mode 100644 index 0000000000..db7344ec80 --- /dev/null +++ b/boost/geometry/algorithms/detail/signed_size_type.hpp @@ -0,0 +1,28 @@ +// Boost.Geometry (aka GGL, Generic Geometry Library) + +// Copyright (c) 2014-2015, Oracle and/or its affiliates. + +// Contributed and/or modified by Adam Wulkiewicz, on behalf of Oracle + +// Use, modification and distribution is subject to 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) + +#ifndef BOOST_GEOMETRY_ALGORITHMS_DETAIL_SIGNED_SIZE_TYPE_HPP +#define BOOST_GEOMETRY_ALGORITHMS_DETAIL_SIGNED_SIZE_TYPE_HPP + + +#include <cstddef> +#include <boost/type_traits/make_signed.hpp> + + +namespace boost { namespace geometry +{ + + +typedef boost::make_signed<std::size_t>::type signed_size_type; + + +}} // namespace boost::geometry + +#endif // BOOST_GEOMETRY_ALGORITHMS_DETAIL_SIGNED_SIZE_TYPE_HPP |