previous | index | next

No Symbol Data Type in C++

It is often helpful to use symbolic values, e.g., human and computer in Nim.

In Racket, we could use the symbol data type, as in:

      (play-with-turns (make-game-state 5 8) 'human)
However, there is no symbol data type in C++.

previous | index | next