mirror of
https://github.com/boostorg/geometry.git
synced 2026-01-29 07:32:17 +00:00
resolve c2146 on vs15 with area_result declaration
This commit is contained in:
@@ -46,9 +46,10 @@ template
|
||||
bool IsUmbrella = strategies::detail::is_umbrella_strategy<Strategy>::value
|
||||
>
|
||||
struct area_result
|
||||
: decltype(std::declval<Strategy>().area(std::declval<Geometry>()))
|
||||
::template result_type<Geometry>
|
||||
{};
|
||||
{
|
||||
typedef decltype(std::declval<Strategy>().area(std::declval<Geometry>())) strategy_type;
|
||||
typedef typename strategy_type::template result_type<Geometry>::type type;
|
||||
};
|
||||
|
||||
template
|
||||
<
|
||||
|
||||
Reference in New Issue
Block a user