Note that this is basically the same as the previous version, excluding the fact that it uses C++ idioms more and does a bit better in error checking.
Note that this is basically the same as the previous version, excluding the fact that it uses C++ idioms more and does a bit better in error checking.