[libc] Move in_use into OptionalStorage (#73569)
The previous optional class would call the destructor on a non-trivially destructible object regardless of if it had already been reset. This patch fixes this by moving tracking for if the object exists into the internal storage class for optional.
parent
9a38a72f
Please register or sign in to comment