MCPcopy Create free account
hub / github.com/apache/qpid-proton / random

Function random

tests/include/catch.hpp:4649–4655  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4647// but I don't expect users to run into that in practice.
4648template <typename T>
4649typename std::enable_if<std::is_integral<T>::value && !std::is_same<T, bool>::value,
4650GeneratorWrapper<T>>::type
4651random(T a, T b) {
4652 return GeneratorWrapper<T>(
4653 pf::make_unique<RandomIntegerGenerator<T>>(a, b)
4654 );
4655}
4656
4657template <typename T>
4658typename std::enable_if<std::is_floating_point<T>::value,

Callers 3

message_id_testFunction · 0.50
next_link_nameFunction · 0.50
containerMethod · 0.50

Calls

no outgoing calls

Tested by 1

message_id_testFunction · 0.40