Hi,

2015-09-19 8:08 GMT+02:00 邓尧 <torshie@gmail.com>:


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