|
|
|
| |||||
|
|
| ||||||
|
|
|||||||
|
|
home translate to German (by SYSTRAN)
|
|
|
Typename KeywordSee 14.6 "Name resolution" [temp.res] of the C++ standard. Also see typename @ corfield.org. > typename.cpp:
struct A
{
struct B
{ };
};
template<typename A>
struct C
{
typedef typename A::B B;
};
int main()
{
C<A> c;
return 0;
}
| |||
This Web page is licensed under the Creative Commons Attribution - NonCommercial - Share Alike License. Any use is subject to the Privacy Policy.
|
Revision: 1.3, http://cmeerw.org/prog/freecpp/typename.html Last modified: Thu Dec 26 14:49:50 2002 |
Christof Meerwald <cmeerw@cmeerw.org> XMPP: cmeerw@cmeerw.org |