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
Within Abseil code, move constructors will not throw except because of allocation if compiled without -DABSL_ALLOCATOR_NOTHROW
it is not clear exactly what defining ABSL_ALLOCATOR_NOTHROW does and where it is supposed to be defined.
If ABSL_ALLOCATOR_NOTHROW is defined Abseil move constructors will not throw all the time?
Will this make the code smaller and faster?
Do you need to recompile the Abseil libraries with the define or adding it when compiling client code is enough?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
https://abseil.io/docs/cpp/guides/base says
it is not clear exactly what defining ABSL_ALLOCATOR_NOTHROW does and where it is supposed to be defined.
If ABSL_ALLOCATOR_NOTHROW is defined Abseil move constructors will not throw all the time?
Will this make the code smaller and faster?
Do you need to recompile the Abseil libraries with the define or adding it when compiling client code is enough?
Thank you,
Beta Was this translation helpful? Give feedback.
All reactions