'C++boost syntax - meaning of <> [duplicate]
I was generating a random number with the boost library, namely:
boost::random::random_device rng;
boost::random::uniform_int_distribution<> index_dist(0, chars.size() - 1);
Now I understand that uniform_int_distribution is class, but what's the meaning of the empty <>? Is it a template?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
