Boost logo

Boost :

From: Gabriel Dos Reis (gdr_at_[hidden])
Date: 2004-02-14 12:40:26

Deane Yang <deane_yang_at_[hidden]> writes:

| I apologize in advance for a really naive question,
| but as an unsophisticated C++ programmer (at least relative
| to the boost experts), why can't we simply ban this kind of code?
| In other words, if "M" has already been defined within class scope
| for something else, it should not be allowed as a template parameter name.

That is partly what I was proposing with the rule about valid
template-parameter renaming. It does leave intact the other decision
made by the committee a long time ago though.

-- Gaby

Boost list run by bdawes at, gregod at, cpdaniel at, john at