1 2 // Copyright 2017-2020 Peter Dimov. 3 // 4 // Distributed under the Boost Software License, Version 1.0. 5 // 6 // See accompanying file LICENSE_1_0.txt or copy at 7 // http://www.boost.org/LICENSE_1_0.txt 8 9 #include <boost/random/random_device.hpp> 10 11 #if defined(_MSC_VER) 12 __declspec(dllexport) 13 #endif get_random_number()14unsigned get_random_number() 15 { 16 boost::random::random_device dev; 17 return dev(); 18 } 19