vient commented on issue #41536:
URL: https://github.com/apache/arrow/issues/41536#issuecomment-2359401445

   
https://stackoverflow.com/questions/71828288/why-is-stdaligned-storage-to-be-deprecated-in-c23-and-what-to-use-instead
   
   ```cpp
   // To replace std::aligned_storage
   template <typename T>
   class MyContainer {
   private:
       //std::aligned_storage_t<sizeof(T), alignof(T)> t_buff;
       alignas(T) std::byte t_buff[sizeof(T)];
   };
   ```
   ¯\\\_(ツ)_/¯


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to