fully declare struct U

release/4.3a0
Varun Agrawal 2025-01-20 02:32:17 -05:00
parent 0959bfef5c
commit a00335ff4a
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@
*/
#ifdef __GNUC__
#if __GNUC__ >= 7 && __cplusplus >= 201703L
namespace boost { namespace serialization { struct U; } }
namespace boost { namespace serialization { struct U{}; } }
namespace std { template<> struct is_trivially_default_constructible<boost::serialization::U> : std::false_type {}; }
namespace std { template<> struct is_trivially_copy_constructible<boost::serialization::U> : std::false_type {}; }
namespace std { template<> struct is_trivially_move_constructible<boost::serialization::U> : std::false_type {}; }