24.3.3 Function Objects (cont.)
Instantiate as needed:
RandomInt r10(1,10);
Invoke function call operator to get random numbers in range:
cout << r10() << "\n";
prev
|
top
|
next