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 cauchy_distribution
16 // template <class CharT, class Traits, class RealType>
17 // basic_ostream<CharT, Traits>&
18 // operator<<(basic_ostream<CharT, Traits>& os,
19 // const cauchy_distribution<RealType>& x);
21 // template <class CharT, class Traits, class RealType>
22 // basic_istream<CharT, Traits>&
23 // operator>>(basic_istream<CharT, Traits>& is,
24 // cauchy_distribution<RealType>& x);
30 #include "test_macros.h"
35 typedef std::cauchy_distribution
<> D
;
37 std::ostringstream os
;
39 std::istringstream
is(os
.str());