|
Boost : |
Subject: Re: [boost] [guidelines] why template errors suck
From: Dave Abrahams (dave_at_[hidden])
Date: 2010-09-26 11:26:50
To convince yourself:
* Write down the find_if algorithm in a natural way
* write down the valid expressions implied by that algorithm
* now re-check the algorithm against the valid expressions
BoostPro Computing * http://boostpro.com
[Sent from coveted but awkward mobile device]
-- On Sep 26, 2010, at 8:55 AM, Eric Niebler <eric_at_[hidden]> wrote: >> The truth is that valid expressions are the wrong way to describe concepts, for reasons you and I have discussed in the past. The now-comatose C++ concepts proposal had it right. > > I was never convinced that valid expressions are the wrong approach.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk