lppl  v2.0.0

◆ DSType

template<typename D >
using DSType = decltype(std::declval<D>().sample(COMPILE_TIME_MOCK_PRNG))

The return type of calling sample on a distribution object.

There is an injection from the space of distributions into the space of value types; the space of value types is computed at compile time and is not needed as a template argument to sample calls.

Template Parameters
DThe type of distribution for which to compute the sample value type