mirror of
https://github.com/boostorg/geometry.git
synced 2026-02-21 15:12:17 +00:00
[strategies][distance] simplify implementation of distance_result
This commit is contained in:
@@ -169,12 +169,8 @@ template
|
||||
typename Strategy = void
|
||||
>
|
||||
struct distance_result
|
||||
{
|
||||
typedef typename resolve_variant::result_of::distance
|
||||
<
|
||||
Geometry1, Geometry2, Strategy
|
||||
>::type type;
|
||||
};
|
||||
: resolve_variant::result_of::distance<Geometry1, Geometry2, Strategy>
|
||||
{};
|
||||
|
||||
|
||||
template <typename Geometry1, typename Geometry2>
|
||||
|
||||
Reference in New Issue
Block a user