James Kanze
11/27/2008 8:45:00 AM
On Nov 26, 10:20 pm, greek_bill <greek_b...@yahoo.com> wrote:
> I had some code that was failing to compile which amounts to
> something like what's shown below. After some digging around,
> I came across paragraph 14.1 note 5, which states :
> "The top-level cv-qualifiers on the template-parameter are
> ignored when determining its type."
> Can someone comment on the reasoning behind this?
Because they are ignored for non-template functions? The
signatures:
void f( int ) ;
and
void f( int const ) ;
are identical.
--
James Kanze (GABI Software) email:james.kanze@gmail.com
Conseils en informatique orientée objet/
Beratung in objektorientierter Datenverarbeitung
9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34