mirror of
https://github.com/pybind/pybind11.git
synced 2025-03-03 21:13:20 +00:00
It sure would need to be guarded by `if (m_type)`, otherwise `what()` fails and masks that no error was set (see update unit test). But since `error_already_set` is copyable, there is no point in releasing m_type, m_value, m_trace, therefore we can just as well avoid the runtime overhead of force-building `m_lazy_what`, it may never be used. |
||
---|---|---|
.. | ||
pybind11 |