userver-framework / userver

Production-ready C++ Asynchronous Framework with rich functionality
https://userver.tech
Apache License 2.0
2.39k stars 278 forks source link

Replace `std::aligned_storage` #620

Open root-kidik opened 4 months ago

root-kidik commented 4 months ago
/userver/third_party/uboost_coro/include/uboost_coro/coroutine2/detail/pull_control_block_cc.hpp:33:19: warning: 'template<long unsigned int _Len, long unsigned int _Align> struct std::aligned_storage' is deprecated [-Wdeprecated-declarations]
   33 |     typename std::aligned_storage< sizeof( T), alignof( T) >::type  storage;
      |                   ^~~~~~~~~~~~~~~
In file included from /toolchain/usr/include/c++/14.1.0/bits/move.h:37,
                 from /toolchain/usr/include/c++/14.1.0/bits/atomic_base.h:39,
                 from /toolchain/usr/include/c++/14.1.0/atomic:50,
                 from /userver/core/src/engine/io/fd_control.hpp:4:
/toolchain/usr/include/c++/14.1.0/type_traits:2183:5: note: declared here
 2183 |     aligned_storage

P1413R3