Boost logo

Boost :

Subject: Re: [boost] [guidelines] why template errors suck
From: Dave Abrahams (dave_at_[hidden])
Date: 2010-09-28 08:20:52


On Sep 28, 2010, at 4:33 AM, Mathias Gaunard <mathias.gaunard_at_[hidden]> wrote:

> I've done it and there was no particular problem. I just need to check the argument are input iterators and an unary function object taking the same value as the iterator value type and returning a boolean.
> (of course, by taking a particular value, I really mean taking something that can be converted from that particular value, and by returning a particular value I mean returning a type convertible to that value, but all of those implicit conversions are taken care of automatically by expressions)

All of that handwaving is exactly where the problem is. When the computer is checking your work, you don't get that luxury ;-)

resting-his-case-ly y'rs,

--
BoostPro Computing * http://boostpro.com
[Sent from coveted but awkward mobile device]

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