1 // Copyright 2019 Peter Dimov 2 // Distributed under the Boost Software License, Version 1.0. 3 // See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt 4 5 #include <boost/atomic.hpp> 6 7 struct X 8 { 9 double v[ 8 ]; 10 }; 11 main()12int main() 13 { 14 boost::atomic<X> a; 15 a.store( X() ); 16 } 17