Skip to content

Conversation

@Vipul-Cariappa
Copy link
Collaborator

example:

enum MyEnum { A, B, C };
template<MyEnum T>
struct MyClass {};
gbl.MyClass[gbl.MyEnum.A]() // instantiation with enum

fixes 1 test along with compiler-research/CppInterOp#696

example:
```c++
enum MyEnum { A, B, C };
template<MyEnum T>
struct MyClass {};
```
```python
gbl.MyClass[gbl.MyEnum.A]() // instantiation with enum
```
Copy link

@vgvassilev vgvassilev left a comment

Choose a reason for hiding this comment

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

Lgtm!

@Vipul-Cariappa Vipul-Cariappa merged commit 55c91c4 into compiler-research:master Aug 8, 2025
41 of 42 checks passed
@Vipul-Cariappa Vipul-Cariappa deleted the dev/templ-enum branch August 8, 2025 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants