@MooingDuck i think, not sure, that also boost is missing a currency type. currently cannot express foreign debt of USA with built-in C++ types... that's a bit facepalm
indeed, that's good for you. but the Boost guys do it right. they abstract the shit out of stuff and make it hard to use. have you seen the frickin time libraries? they've got everything abstracted so much it takes an hour to figure out how to get a POSIX timestamp out of it
BigNum isn't really good enough for finances, either. for instance, it's very helpful to be able to represent e symbolically until you actually need to resolve it
classes and structs are really only in existence for the programmer to be able to "specify" things that belong together. Is there any guarantee that members in a class or struct will be layed out contiguous in memory? The code executing on the machine doesn't really have any notion of class or struct does it?
now things that the compiler does, like create template instantiations, they are not executed by the compiler? Or decltype is just interpreted by the compiler as "give this expression a type", but nothing more?
template<typename T> struct f { void foo() { /*do whatever*/ } }; f<int>.foo(); <--- this call on f<int> is not executed by the compiler, just interpreted