You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not possible to use tl::optional with exceptions disabled. It would be useful for code that is required to compile without exception support if this were possible. With libstdc++, abort is called instead for conditions that would raise an exception.
It's not possible to use
tl::optional
with exceptions disabled. It would be useful for code that is required to compile without exception support if this were possible. Withlibstdc++
,abort
is called instead for conditions that would raise an exception.It unfortunately varies across compilers how to detect if exception support has been disabled, but in a third party
variant
implementation this is done by https://github.com/mpark/variant/blob/d1cdfdd3f2ed80710ba4d671fe6bffaa3e28201a/v1.4.0/variant.hpp#L270 with__has_feature
defined for non-clang compilers as https://github.com/mpark/variant/blob/d1cdfdd3f2ed80710ba4d671fe6bffaa3e28201a/v1.4.0/variant.hpp#L232.The text was updated successfully, but these errors were encountered: