1 //===----------------------------------------------------------------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // UNSUPPORTED: no-localization
13 // template<class RealType = double>
14 // class uniform_real_distribution
16 // template <class charT, class traits>
17 // basic_ostream<charT, traits>&
18 // operator<<(basic_ostream<charT, traits>& os,
19 // const uniform_real_distribution& x);
21 // template <class charT, class traits>
22 // basic_istream<charT, traits>&
23 // operator>>(basic_istream<charT, traits>& is,
24 // uniform_real_distribution& x);
30 #include "test_macros.h"
35 typedef std::uniform_real_distribution
<> D
;
37 std::ostringstream os
;
39 std::istringstream
is(os
.str());