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 <ch...@mcfarlen.us> Sent: Friday, December 8, 2023 12:03 PM To: dev@trafficserver.apache.org Subject: Re: [TSAPI] TSTxnAlloc Should the template function versions ensure is_trivially_destructible<T>? This should reject non POD allocations.