Subject: Re: [boost] [Polygon] What does this error mean?
From: Phil Endecott (spam_from_boost_dev_at_[hidden])
Date: 2009-09-02 17:45:41


Simonson, Lucanus J wrot:
> The error the above should fix is:
>
> /usr/local/src/gtl/boost/polygon/rectangle_concept.hpp:192: error: no
> matching function for call to
> 'set(boost::polygon::rectangle_data<int>&,
> boost::polygon::orientation_2d_enum, std::pair<int, int>)'
>
> Is that error still present?

Ha, actually I hadn't noticed that particular error amongst the
kilobytes of other spewage. It has now gone. What I am still getting
is the "class std::set is not a function" stuff.

I've also added the interval_mutable_traits specialisation that Thomas
suggested without any improvement.

The code that I'm still unable to compile is at
http://chezphil.org/tmp/testpoly.cc - if anyone can work out what I've
done wrong, please let me know!

I would be interested to hear if anyone thinks that concept checking
could make these particular errors any more readable.

Regards, Phil.