blob: 6a1afd757e0def08256ae5395b7d7e99fbda0821 [file] [log] [blame]
//===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
// <random>
// template<class RealType = double>
// class normal_distribution
// param_type param() const;
#include <random>
#include <cassert>
int main()
{
{
typedef std::normal_distribution<> D;
typedef D::param_type P;
P p(.125, .5);
D d(p);
assert(d.param() == p);
}
}