eyalz800 / zpp_throwing

Using coroutines to implement C++ exceptions for freestanding environments
MIT License
73 stars 4 forks source link

fix(zpp_throwing.h/exception_holder/dynamic_object): do not use trailing return specifier #13

Closed pratikpc closed 1 week ago

pratikpc commented 1 week ago

MSVC seems to error out with the same

pratikpc commented 1 week ago

Looks like another MSVC bug

https://godbolt.org/z/zTKcKodYv

Caused due to exit_condition class being templated and this solves the issue.

Also the newer code I guess is the same with the same amount of readability.

eyalz800 commented 1 week ago

Thank you