Subject: [ggl] Concept names and template parameters
From: Barend Gehrels (Barend.Gehrels)
Date: 2009-06-12 17:23:38
By introducing concepts and the BCCL (boost concept check library), we
followed the conventions that concepts are written with a capital, so
concept Point and ConstPoint.
We recently corrected template parameters such that they now also are
written with a capital, so Geometry and Point (it used to be G and P, or
sometimes even GEOMETRY and POINT). So they now both share the same
You'll see where I'm going to: when checking the concepts we can get
BOOST_CONCEPT_ASSERT( (Point<Point>) );
This is of course not compilable. So a logical thing to do would be
placing all concepts in a namespace "concept". It would then be:
BOOST_CONCEPT_ASSERT( (concept::Point<Point>) );
which is acceptible, and actually looks OK. So this is my proposal.
Placing all concepts in namespace "concept".
Geometry list run by mateusz at loskot.net