Open alfred-666 opened 1 year ago
Yes, I agree.
What do you think this would look like, ideally?
Would you use a lot of std::variant return types? Or std::expected?
I actually like std::expected but its C++23 which is really std:: variant underneath.
Maybe we can fallback to https://github.com/TartanLlama/expected
Yeah, std::expected would be ideal.
hffix currently has two properties which I like to preserve, if possible:
But maybe it's time to start relaxing these requirements.
May I ask, what is your build environment? You have C++23 but you don't have exceptions?
we can keep both of the requirements by bundling the above library in the source code. it's header only so i don't expect any issues.
I have C++20 with exception disabled because of hard latency requirements.
Some environments don't have luxury of exception so having exception free code paths would be great