Boost logo

Boost :

From: Joel de Guzman (joel_at_[hidden])
Date: 2003-11-27 03:15:51

Daryle Walker <darylew_at_[hidden]> wrote:

> All of the operator helpers need the final type to provide a core routine.
> AFAIK, Peter's idiom is to use a pointer-to-member(-function) as the core
> Boolean routine; it can't be provided by a library.

Why are you so sure? And BTW, why do people call it Peter's idiom.
AFAIK, it was Daveed Vandevoorde who first suggested the trick.


Joel de Guzman

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