mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 06:05:58 -06:00
20 lines
201 B
C++
20 lines
201 B
C++
template <class T, class U>
|
|
class X {
|
|
public:
|
|
T alfa();
|
|
T beta;
|
|
U u;
|
|
String s;
|
|
};
|
|
|
|
struct Test : X<String, Color>
|
|
{
|
|
Test();
|
|
};
|
|
|
|
void Alfa()
|
|
{
|
|
Test x;
|
|
x.beta;
|
|
x.u. <<<!!!!
|
|
}
|