BSNES bundles its own equivalent "Nall" to the C++ standard library (I said it was suprisingly self-contained!) covering:
* Multithreading
* Classifications to annotate the typesystem
* Memory management via unique & shared pointers
* Casting
* Enums a.k.a. "variants"
* Read/write variable-length ints & other data
* Wrappers around ints, pointers, & anything else
* Auto-generated accessors
* Pseudorandomness
* Ranges & iterations thereupon
* Reed-Solomon error-correction
* Matrices
1/2?