boostorg / polygon

Boost.org polygon module
http://boost.org/libs/polygon
57 stars 70 forks source link

Add missing explicit type casts #58

Open mborn-adi opened 3 years ago

mborn-adi commented 3 years ago

Currently, the "coordinate_type" must be implicitly convertible to the "high_precision_type" type, because some explicit type casts are missing. With this change, that's no longer the case. This is very valuable for a custom "coordinate_type".