I wasn't able to find an answer by googling, since I don't know what to actually look for. So I stumbled across this:
template<typename T>
class SkipList {
public:
SkipList() : max_level_(16) {
head = new Node(T(), max_level_);
...
}
and I don't really know what T()
means. I'm familiar with the concept of templates (at least I have basic knowledge about it), but I've never seen using the ()-Operator on them. So hat is it exactly doing?