|
|
|
|
@ -221,6 +221,25 @@ void Base<T>::invokeFriend()
@@ -221,6 +221,25 @@ void Base<T>::invokeFriend()
|
|
|
|
|
f(Nested()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
template <typename T> |
|
|
|
|
struct TemplateUnionField |
|
|
|
|
{ |
|
|
|
|
union |
|
|
|
|
{ |
|
|
|
|
struct |
|
|
|
|
{ |
|
|
|
|
T x, y, z; |
|
|
|
|
}; |
|
|
|
|
T v; |
|
|
|
|
}; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
struct TemplateUnionFieldInstantiation |
|
|
|
|
{ |
|
|
|
|
TemplateUnionField<int> tuf; |
|
|
|
|
TemplateUnionField<float> tuf1; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
template <typename T> |
|
|
|
|
class DependentValueFields : public Base<T> |
|
|
|
|
{ |
|
|
|
|
|