Skip to content
This repository has been archived by the owner on Jan 19, 2025. It is now read-only.

Veselov Ilya lab 1 var 1 #36

Merged
merged 13 commits into from
Mar 21, 2024

Conversation

spells39
Copy link

No description provided.

};

// CHECK: TemplateClass
template<typename T> class TemplateClass {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please also add test with instantiation of this class for a concrete type?

T Tvariable;
};

TemplateClass<int> instantiationInt;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please print instantiated class and its fields?

Co-authored-by: m-ly4 <mikelitch@gmail.com>
@m-ly4 m-ly4 merged commit c7a2671 into NN-complr-tech:course-spring-2024 Mar 21, 2024
5 checks passed
template<typename T> class TemplateClass {
//CHECK-NEXT: Tvariable
T Tvariable;
};
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

// CHECK: TemplateClass
//CHECK-NEXT: Tvariable

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants