Boost logo

Boost :

Subject: Re: [boost] [guidelines] why template errors suck
From: David Abrahams (dave_at_[hidden])
Date: 2010-09-27 00:54:42


At Mon, 27 Sep 2010 11:40:31 +0800,
Dean Michael Berris wrote:
>
> The way concepts are done now is to define the syntactic requirements
> (not so much the semantics)

I think I know what you mean, but I wouldn't say it that way.
Notwithstanding the fact that the compiler can never verify semantic
conformance to a concept, the semantics are a required part of any
concept definition. If your concept omits semantics, it's broken.

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

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