|
Boost Users : |
Subject: Re: [Boost-users] Weird compilation error when using boost::geometry
From: Adam Wulkiewicz (adam.wulkiewicz_at_[hidden])
Date: 2015-10-03 13:16:21
Hi,
2015-09-19 8:08 GMT+02:00 éå°§ <torshie_at_[hidden]>:
>
>
>>> template<typename T, *int* tDimension = 2>
>>
>> class Point {
>>
>>
<snip>
>>> template<typename Type, *std::size_t* tDimension>
>>
>> struct tag<::raptor::Point<Type, tDimension>> {
>>
>> typedef point_tag type;
>>
>> };
>>
>>
>>
Different integral types are used for tDimension in Point class and traits
specializations, after changing e.g. int to std::size_t in Point class the
code compiles.
Regards,
Adam
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net