WebSocket++
0.8.3-dev
C++ websocket client/server library
|
Thread safe stub "random" integer generator. More...
#include <none.hpp>
Public Member Functions | |
int_type | operator() () |
advances the engine's state and returns the generated value | |
Thread safe stub "random" integer generator.
This template class provides a random integer stub. The interface mimics the WebSocket++ RNG generator classes but the generater function always returns zero. This can be used to stub out the RNG for unit and performance testing.
Call operator() to generate the next number