Created on 2009-05-12.00:00:00 last changed 161 months ago
[ The usage of the notion of a BaseCharacteristic below might be useful in other places - e.g. to define the base class relation in [refwrap], [func.memfn], or [func.wrap.func]. In this case it's definition should probably be moved to Clause 17 ]
Change [meta.rqmts] p.1 as indicated:
[..] It shall be DefaultConstructible, CopyConstructible, and publicly and unambiguously derived, directly or indirectly, from its BaseCharacteristic, which is a specialization of the template integral_constant (20.6.3), with the arguments to the template integral_constant determined by the requirements for the particular property being described. The member names of the BaseCharacteristic shall be unhidden and unambiguously available in the UnaryTypeTrait.
Change [meta.rqmts] p.2 as indicated:
[..] It shall be DefaultConstructible, CopyConstructible, and publicly and unambiguously derived, directly or indirectly, from
an instanceits BaseCharacteristic, which is a specialization of the template integral_constant (20.6.3), with the arguments to the template integral_constant determined by the requirements for the particular relationship being described. The member names of the BaseCharacteristic shall be unhidden and unambiguously available in the BinaryTypeTrait.
Change [meta.unary] p.2 as indicated:
Each of these templates shall be a UnaryTypeTrait (20.6.1),
publicly derived directly or indirectly from true_type if the corresponding condition is true, otherwise from false_typewhere its BaseCharacteristic shall be true_type if the corresponding condition is true, otherwise false_type.
Change [meta.rel] p.2 as indicated:
Each of these templates shall be a BinaryTypeTrait (20.6.1),
publicly derived directly or indirectly from true_type if the corresponding condition is true, otherwise from false_typewhere its BaseCharacteristic shall be true_type if the corresponding condition is true, otherwise false_type.
[ 2009-10 post-Santa Cruz: ]
Move to Tentatively Ready.
[ Batavia (2009-05): ]
Alisdair would prefer to factor some of the repeated text, but modulo a corner case or two, he believes the proposed wording is otherwise substantially correct.
Move to Open.
The current wording in [meta.rqmts] is still unclear concerning it's requirements on the type traits classes regarding ambiguities. Specifically it's unclear
History | |||
---|---|---|---|
Date | User | Action | Args |
2011-08-23 20:07:26 | admin | set | status: wp -> c++11 |
2010-10-21 18:28:33 | admin | set | messages: + msg795 |
2010-10-21 18:28:33 | admin | set | messages: + msg794 |
2010-10-21 18:28:33 | admin | set | messages: + msg793 |
2009-05-12 00:00:00 | admin | create |