pauldreik / random_foreach

code for randomly generating all numbers in a range exactly once
Boost Software License 1.0
3 stars 0 forks source link

templatize the roundfunction #2

Open pauldreik opened 4 years ago

pauldreik commented 4 years ago

See if it is possible to invoke the rounding function with std::integral_constant instead of the "int round" argument, that way implementations could do compile time decisions based on the round, if they want to.