4 ms·
Actually in C++11 you can just say: auto id = mongo::OID("1234..."); This gives you much (not all) of the brevity and flexibility of dynamic typing, while
by mathias_10gen 13y ago
Actually in C++11 you can just say:
auto id = mongo::OID("1234...");
This gives you much (not all) of the brevity and flexibility of dynamic typing, while maintaining the power and safety of static typing.