
8 Jan
2010
8 Jan
'10
6:49 p.m.
On 1/8/2010 9:32 AM, Thomas Klimpel wrote:
Well, in that case you could try to add
template<typename T> struct polygon_traits<T, gtl_no> {};
to the file polygon_traits.hpp below the lines 39ff
template<typename T, typename enable = gtl_yes> struct polygon_traits {};
so that it looks similar to the definition of rectangle_traits...
It doesn't help, I'm afraid. I get exactly the same errors -- no more, no less.
You could also try to compile the examples from the documentation, so that it would be clear that it is actually a problem of the library/compiler combination and not with your code itself.
The problem occurs even in a .cpp file that does nothing but include polygon.hpp, so it can't be my code. Thanks, though. - Kef