Boost logo

Boost :

Subject: Re: [boost] [C++0x] Report from Frankfurt committee meeting
From: Eric Niebler (eric_at_[hidden])
Date: 2009-08-12 15:03:57


David Abrahams wrote:
> on Wed Aug 12 2009, Mathias Gaunard <mathias.gaunard-AT-ens-lyon.org> wrote:
>
>> Robert Ramey wrote:
>>> Would it not be possible to produce something like a "C++ Lint" (missing
>>> clever name here). Which would be
>>>
>>> a) Written in portable C++
>>> b) Would permit "concept" syntax to be added in as a tagged comment like
>>>
>>> /* indiana concept syntax
>>> ...
>>> */
>> Why not just use Boost.ConceptCheck.
>> The library could be improved to generate error messages just as good as the ones
>> concepts provide.
>
> a. I doubt we could do as well with error messages
> b. It would be slower (at compile time)
> c. It wouldn't have the right syntax
> d. It wouldn't do the right thing

<aside>
I bet for C++0x compilers that support SFINAE on expressions, we could
build a much nicer Boost.ConceptCheck library. I'd be curious to see how
far we could go.
</aside>

-- 
Eric Niebler
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