|
|
|
|
|
by lmm
2412 days ago
|
|
> You can have options and results in C++ if you like (I sometimes use custom result types, and I certainly don't use exceptions) It's not really practical because C++ has no true sum types. You can emulate them with a Java-style visitor pattern but that carries an immense code overhead. |
|