![]() When initializing unsigned integers to their maximum values, change "const T M(~0);" to "const T M(static_cast<T>(-1));". ~0 and -1 are equivalent, but I consider the -1 form to be significantly clearer (and more consistent with other tests). llvm-svn: 287827 |
||
---|---|---|
.. | ||
assign.pass.cpp | ||
copy.pass.cpp | ||
ctor_result_type.pass.cpp | ||
ctor_sseq.pass.cpp | ||
default.pass.cpp | ||
discard.pass.cpp | ||
eval.pass.cpp | ||
io.pass.cpp | ||
result_type.pass.cpp | ||
seed_result_type.pass.cpp | ||
seed_sseq.pass.cpp | ||
values.pass.cpp |