- Title
- Dependent function types
- Status
- cd2
- Section
- 13.8.3.3 [temp.dep.expr]
- Submitter
- Daveed Vandevoorde
Created on 2005-10-22.00:00:00 last changed 199 months ago
Messages
Date: 2010-03-15.00:00:00
[Voted into WP at March, 2010 meeting.]
Date: 2009-10-15.00:00:00
Proposed resolution (October, 2009): Change 13.8.3.3 [temp.dep.expr] paragraph 3 as follows: An id-expression is type-dependent if it contains: an identifier a template-id that is dependent, a conversion-function-id that specifies a dependent
type, or
a nested-name-specifier or a qualified-id that
names a member of an unknown specialization.
that was associated by
name lookup with one or more declarations declared with a
dependent type,
Date: 2009-10-15.00:00:00
Notes from the October, 2009 meeting: The consensus of the CWG was that the first point of the issue
is not sufficiently problematic as to require a change.
Date: 2005-10-22.00:00:00
13.8.3.3 [temp.dep.expr] paragraph 3 says, This treatment seems inadequate with regard to
id-expressions in function calls: According to 13.8.3.2 [temp.dep.type] paragraph 6, This would apply to the type of a member function of a class
template if any of its parameters are dependent, even if the return
type is not dependent. However, there is no need for a call to such a
function to be a type-dependent expression because the type of the
expression is known at definition time. This wording does not handle the case of overloaded functions,
some of which might have dependent types (however defined) and others
not.
An id-expression is type-dependent if it contains:
A type is dependent if it is
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2010-03-29 00:00:00 | admin | set | messages: + msg2736 |
| 2010-03-29 00:00:00 | admin | set | status: ready -> cd2 |
| 2009-11-08 00:00:00 | admin | set | messages: + msg2377 |
| 2009-11-08 00:00:00 | admin | set | messages: + msg2376 |
| 2009-11-08 00:00:00 | admin | set | status: drafting -> ready |
| 2006-04-22 00:00:00 | admin | set | status: open -> drafting |
| 2005-10-22 00:00:00 | admin | create | |