Skip to content

Conversation

elbeno
Copy link
Contributor

@elbeno elbeno commented Aug 7, 2024

GCC and clang allow a user-defined literal operator template with the signature:

template <typename T, T...> auto operator""_udl();

This is a non-standard extension and for our purposes at least it is replaced in C++20 by using an operator template with a structural NTTP:

template <ct_string S> auto operator""_udl();

GCC and clang allow a user-defined literal operator template with the signature:
```cpp
template <typename T, T...> auto operator""_udl();
```

This is a non-standard extension and for our purposes at least it is replaced in
C++20 by using an operator template with a structural NTTP:
```cpp
template <ct_string S> auto operator""_udl();
@elbeno elbeno force-pushed the fix-udl-extension branch from af88b80 to 3b6e076 Compare August 8, 2024 15:51
@elbeno elbeno merged commit 12f434a into intel:main Aug 8, 2024
@elbeno elbeno deleted the fix-udl-extension branch August 21, 2024 23:22
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