You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
enumisSeedable(Rng, SeedType) = isUniformRNG!(Rng) &&is(typeof(
{
Rng r = void; // can define a Rng object
SeedType s = void;
r.seed(s); // can seed a Rng
}));
}
Yields
std/random.d(311:13)[warn]: Public declaration 'r' is undocumented.
std/random.d(312:18)[warn]: Public declaration 's' is undocumented.
But apparently not if written as
templateisSeedable(Rng, SeedType)
{
enum isSeedable = isUniformRNG!(Rng) &&is(typeof(
{
Rng r = void; // can define a Rng object
SeedType s = void;
r.seed(s); // can seed a Rng
}));
}