1 // Copyright (c) 2018 Mike Dev 2 // 3 // Distributed under the Boost Software License, Version 1.0. 4 // See accompanying file LICENSE_1_0.txt or copy at 5 // https://www.boost.org/LICENSE_1_0.txt) 6 7 #include <boost/atomic.hpp> 8 9 struct Dummy 10 { 11 int x[128]; 12 }; 13 main()14int main() 15 { 16 Dummy d = {}; 17 boost::atomic<Dummy> ad; 18 19 // this operation requires functions from 20 // the compiled part of Boost.Atomic 21 ad = d; 22 } 23