dimanche 23 août 2020

What is the std::uniform_random_bit_generator concept and how do I use it?

I want to do two things. First, I want to define a template function that takes an std::uniform_random_bit_generator type T as an argument and uses all of the std::uniform_random_bit_generator features of that type T within the function. Second, I want to define a class that satisfies the requirements of being an std::uniform_random_bit_generator.

It's not important that the function or the class have any semblance of being "random."




Aucun commentaire:

Enregistrer un commentaire