Dependent Names [C++ Reference]
Keywords: keywords,dependent_name
Date: 2010-03-21T03:29:26-0700

[[Dependent Names]]
C++ Reference
Translations of this page?:

- en
- br-pt
- cn
- cz
- de
- es
- fr
- it
- jp
- nl
- pl
- ro
- ru
- sk
- tr
- tw

## Dependent Names

A dependent name in a template definition is a name on the right side of ”::”, implying that its meaning (whether it is a type, a variable or member function, or a template) depends on the definition of the type to the left of the ”::”. For example, in “Foo::Bar”, “Bar” is the dependent name. Dependent names technically exist outside of template definitions as well, but most discussion of dependent names involves the need for disambiguation of dependent names within template definitions.

Edit this page • Old revisions
• • • Login • Index • Recent changes • RSS • cc •