xref: /llvm-project/libcxx/include/__random/default_random_engine.h (revision 368faacac7525e538fa6680aea74e19a75e3458d)
1*344cef66SArthur O'Dwyer //===----------------------------------------------------------------------===//
2*344cef66SArthur O'Dwyer //
3*344cef66SArthur O'Dwyer // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4*344cef66SArthur O'Dwyer // See https://llvm.org/LICENSE.txt for license information.
5*344cef66SArthur O'Dwyer // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6*344cef66SArthur O'Dwyer //
7*344cef66SArthur O'Dwyer //===----------------------------------------------------------------------===//
8*344cef66SArthur O'Dwyer 
9*344cef66SArthur O'Dwyer #ifndef _LIBCPP___RANDOM_DEFAULT_RANDOM_ENGINE_H
10*344cef66SArthur O'Dwyer #define _LIBCPP___RANDOM_DEFAULT_RANDOM_ENGINE_H
11*344cef66SArthur O'Dwyer 
12*344cef66SArthur O'Dwyer #include <__config>
13*344cef66SArthur O'Dwyer #include <__random/linear_congruential_engine.h>
14*344cef66SArthur O'Dwyer 
15*344cef66SArthur O'Dwyer #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
16*344cef66SArthur O'Dwyer #  pragma GCC system_header
17*344cef66SArthur O'Dwyer #endif
18*344cef66SArthur O'Dwyer 
19*344cef66SArthur O'Dwyer _LIBCPP_BEGIN_NAMESPACE_STD
20*344cef66SArthur O'Dwyer 
21*344cef66SArthur O'Dwyer typedef minstd_rand default_random_engine;
22*344cef66SArthur O'Dwyer 
23*344cef66SArthur O'Dwyer _LIBCPP_END_NAMESPACE_STD
24*344cef66SArthur O'Dwyer 
25*344cef66SArthur O'Dwyer #endif // _LIBCPP___RANDOM_DEFAULT_RANDOM_ENGINE_H
26