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.

Regards,

-- 
Joel de Guzman
http://www.boost-consulting.com
http://spirit.sf.net

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