Skip to content

✨ Add functionality for named types - #421

Merged
elbeno merged 1 commit into
intel:mainfrom
elbeno:name-of
Sep 15, 2026
Merged

elbeno merged 1 commit into
intel:mainfrom
elbeno:name-of

Conversation

@elbeno

@elbeno elbeno commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

Problem:

  • Named types are used everywhere, but in an ad-hoc manner.

Solution:

  • Add named concept to detect a the name of a type as well as name_of_v and constant_name_of_v to extract the name either as a ct_string or a cts_t.
  • Add with_name as a convenient "named type" base class.

Problem:
- Named types are used everywhere, but in an ad-hoc manner.

Solution:
- Add `named` concept to detect a the `name` of a type as well as `name_of_v`
  and `constant_name_of_v` to extract the name either as a `ct_string` or a
  `cts_t`.
- Add `with_name` as a convenient "named type" base class.
@elbeno
elbeno merged commit ada59db into intel:main Sep 15, 2026
48 of 50 checks passed
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