Boost logo

Boost :

Subject: Re: [boost] C++11 Metaprogramming
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2012-04-06 04:59:07


On 06/04/12 09:04, Andrzej Krzemienski wrote:
>> And this is the worst part: I forgot the
> "typename". Having to type this "typename" is really terrible and just
> scares off many people. If you do not mind it, it only means that you got
> used to it; but people should not be forced to get used to too many
> gotchas.

The language requires to specify whenever dependent names in template
contexts are anything else than values (i.e. types or templates).

There is no substitute for learning the basics of the language. This is
not a gotcha, just normal usage of templates.


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