See my previous email - we could say it must be a POD for TxnAlloc and if it's not, use Cleanup.
-----Original Message----- From: Chris McFarlen <[email protected]> Sent: Friday, December 8, 2023 12:03 PM To: [email protected] Subject: Re: [TSAPI] TSTxnAlloc Should the template function versions ensure is_trivially_destructible<T>? This should reject non POD allocations.
