random.hpp 777 B

1234567891011121314151617181920212223
  1. ///////////////////////////////////////////////////////////////
  2. // Copyright Jens Maurer 2006-2011
  3. // Copyright Steven Watanabe 2011
  4. // Copyright 2012 John Maddock. Distributed under the Boost
  5. // Software License, Version 1.0. (See accompanying file
  6. // LICENSE_1_0.txt or copy at https://www.boost.org/LICENSE_1_0.txt
  7. #ifndef BOOST_MP_RANDOM_HPP
  8. #define BOOST_MP_RANDOM_HPP
  9. #include <boost/multiprecision/detail/standalone_config.hpp>
  10. #if defined(__GNUC__) || defined(_MSC_VER)
  11. #pragma message("NOTE: Use of this header (boost/multiprecision/random.hpp) is deprecated: please use the random number library headers directly.")
  12. #endif
  13. #ifndef BOOST_MP_STANDALONE
  14. #include <boost/random.hpp>
  15. #else
  16. #error "Use of this header is removed in standalone mode"
  17. #endif
  18. #endif