草庐IT

UIntType

全部标签

C++11随机数生成器UIntType矛盾

C++11标准(N3242)第26.5.1.1节第1段说:Throughoutthissubclause26.5,theeffectofinstantiatingatemplate:[...]f)thathasatemplatetypeparameternamedUIntTypeisundefinedunlessthecorrespondingtemplateargumentiscv-unqualifiedandisoneofunsignedshort,unsignedint,unsignedlong,orunsignedlonglong.它在26.5.3.1中定义了线性同余生成器。类

C++11随机数生成器UIntType矛盾

C++11标准(N3242)第26.5.1.1节第1段说:Throughoutthissubclause26.5,theeffectofinstantiatingatemplate:[...]f)thathasatemplatetypeparameternamedUIntTypeisundefinedunlessthecorrespondingtemplateargumentiscv-unqualifiedandisoneofunsignedshort,unsignedint,unsignedlong,orunsignedlonglong.它在26.5.3.1中定义了线性同余生成器。类