
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