-
-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
I'm currently facing an issue while using ctpg::parser:
libstdc++doesn't have a constexpr-ready version ofstd::optionallibc++doesn't have a constexpr-ready version ofstd::vector
This makes ctpg::parser currently unusable in constexpr functions since both are required but no standard library implementation has them both constexpr-ready.
There could several ways to make constexpr ctpg happen, being:
- Using @TartanLlama's
std::optionalimplementation (libstdc++ compatible) - Using cest's
std::vectorimplementation (libc++ compatible) - Re-implementing
std::optional(libstdc++ compatible)
I will probably go for one of these options on my side because I need ctpg to work in constexpr contexts for my research, but I would like to know if merging one of these changes on your side sounds reasonable to you, and eventually which one you prefer so I can put my focus on it.
Regards,
Jules
Metadata
Metadata
Assignees
Labels
No labels