Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2007-05-23 06:39:40

I need to assign this ticket to Daniel Frey, who is the maintainer of
the operators library. Does he have a Trac account?

I don't know who "daniel" is in the list of Trac users. Maybe, for a
project this size, we ought to be using userids that we can
definitively associate with a person.

attached mail follows:

#979: ::boost::detail::empty_base could be improved
 Reporter: sparent_at_[hidden] | Type: Bugs
   Status: new | Milestone: Boost 1.34.1
Component: iterator | Version: release 1.34.0
 Severity: Problem | Keywords: operator library
 The empty base class used by the operators library will not actually be
 empty if you have a class inheriting from operators and the first member
 also inherits from operators - the work around is to have an empty_base<T>
 to ensure a unique type - so you end up with:

 class my_class : equality_comparable<my_class, my_class,
 empty_base<my_class> >
 { ...

 Kind of gross - such a base could be included directly in the operator


Ticket URL: <>
Boost C++ Libraries <>
Boost provides free peer-reviewed portable C++ source libraries.

Dave Abrahams
Boost Consulting

Boost list run by bdawes at, gregod at, cpdaniel at, john at