From f33e90b916cbfa802077ebcaf6d8d71e54861802 Mon Sep 17 00:00:00 2001 From: Menelaos Karavelas Date: Tue, 8 Jul 2014 12:40:53 +0300 Subject: [PATCH] [strategies][comaprable distance] add default_comparable_strategy: this is a placeholder for comparable distance strategies used for resolving strategies during the resolve variant stages --- .../default_comparable_strategy.hpp | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 include/boost/geometry/strategies/default_comparable_strategy.hpp diff --git a/include/boost/geometry/strategies/default_comparable_strategy.hpp b/include/boost/geometry/strategies/default_comparable_strategy.hpp new file mode 100644 index 000000000..ea8a50230 --- /dev/null +++ b/include/boost/geometry/strategies/default_comparable_strategy.hpp @@ -0,0 +1,30 @@ +// Boost.Geometry (aka GGL, Generic Geometry Library) + +// Copyright (c) 2014, Oracle and/or its affiliates. + +// Contributed and/or modified by Menelaos Karavelas, on behalf of Oracle + +// Licensed under the Boost Software License version 1.0. +// http://www.boost.org/users/license.html + +#ifndef BOOST_GEOMETRY_STRATEGIES_DEFAULT_COMPARABLE_STRATEGY_HPP +#define BOOST_GEOMETRY_STRATEGIES_DEFAULT_COMPARABLE_STRATEGY_HPP + + +namespace boost { namespace geometry +{ + +// This is a comparable strategy placeholder type, which is passed by +// the algorithm free functions to the multi-stage resolving +// process. It's resolved into an actual strategy type during the +// resolve_strategy stage, possibly depending on the input geometry +// type(s). This typically happens after the resolve_variant stage, as +// it needs to be based on concrete geometry types - as opposed to +// variant geometry types. + +struct default_comparable_strategy {}; + +}} // namespace boost::geometry + + +#endif // BOOST_GEOMETRY_STRATEGIES_DEFAULT_COMPARABLE_STRATEGY_HPP