Open alien-brother opened 2 weeks ago
Nothing does throw except maybe calls to IM_NEW() depending on your new() setup.
If I'm not touching anything around IM_NEW()
, it cannot throw, right? By default, it seems to be doing placement new
in a buffer created by malloc()
.
Yes that's correct.
Version/Branch of Dear ImGui:
Version 1.90.8, Branch: master
Back-ends:
imgui_impl_win32.cpp + imgui_impl_dx11.cpp (the question stands for other backends as well)
Compiler, OS:
Windows 11, Visual Studio 2022
Full config/build information:
Any
Details:
My Issue/Question:
Are there ImGui APIs that can throw? It would seem that there aren't? However, ImGui does not use
noexcept
, so maybe I'm missing a piece of information?Screenshots/Video:
No response
Minimal, Complete and Verifiable Example code:
No response