+ addd boost::equality_comparable<box2d<T>
This commit is contained in:
parent
f0181d4c4f
commit
9bc45c9ca1
1 changed files with 6 additions and 5 deletions
|
@ -38,11 +38,12 @@ namespace mapnik {
|
||||||
/*!
|
/*!
|
||||||
* A spatial envelope (i.e. bounding box) which also defines some basic operators.
|
* A spatial envelope (i.e. bounding box) which also defines some basic operators.
|
||||||
*/
|
*/
|
||||||
template <typename T> class MAPNIK_DECL box2d
|
template <typename T> class MAPNIK_DECL box2d
|
||||||
: boost::addable<box2d<T>,
|
: boost::equality_comparable<box2d<T> ,
|
||||||
boost::subtractable<box2d<T>,
|
boost::addable<box2d<T>,
|
||||||
boost::dividable2<box2d<T>, T,
|
boost::subtractable<box2d<T>,
|
||||||
boost::multipliable2<box2d<T>, T > > > >
|
boost::dividable2<box2d<T>, T,
|
||||||
|
boost::multipliable2<box2d<T>, T > > > > >
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
typedef box2d<T> box2d_type;
|
typedef box2d<T> box2d_type;
|
||||||
|
|
Loading…
Add table
Reference in a new issue