Boost logo

Boost :

Subject: Re: [boost] [Polygon] What does this error mean?
From: Thomas Klimpel (Thomas.Klimpel_at_[hidden])
Date: 2009-09-02 15:11:52


Phil Endecott wrote:
> I've added this:
> ...
> and I seem to be getting much the same error.

How about also adding

template <>
struct interval_mutable_traits< std::pair<screen_coord_t,screen_coord_t> > {
  static inline void set(std::pair<screen_coord_t,screen_coord_t>& interval, direction_1d dir,
                         screen_coord_t value) {
    if (dir==LOW) interval.first = value;
    else interval.second = value;
  }
  static inline std::pair<screen_coord_t,screen_coord_t> construct(screen_coord_t low_value,
                            screen_coord_t high_value) {
    return std::pair<screen_coord_t,screen_coord_t> (low_value, high_value);
  }
};

???


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk