Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access specifiers for class members and base classes #394

Open
llvm-beanz opened this issue Feb 17, 2025 · 0 comments
Open

Access specifiers for class members and base classes #394

llvm-beanz opened this issue Feb 17, 2025 · 0 comments
Labels
enhancement New feature or request Theme:C++ Issues related to differences or features of C++
Milestone

Comments

@llvm-beanz
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
To increase compatibility with C++ and to allow more traditional OO design patterns, HLSL should support the public, private and protected access specifiers for class members and base classes.

HLSL already uses private access for builtin data types to hide members that we don't want users poking at directly, we should give this feature to users to allow them the same capabilities.

@llvm-beanz llvm-beanz added enhancement New feature or request needs-triage Theme:C++ Issues related to differences or features of C++ labels Feb 17, 2025
@damyanp damyanp moved this to Triaged in HLSL Triage Feb 18, 2025
@damyanp damyanp added this to the HLSL 202y milestone Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Theme:C++ Issues related to differences or features of C++
Projects
Status: Triaged
Development

No branches or pull requests

2 participants