#include "packet_type.hpp" #include "service_locator.hpp" #include "foobar.hpp" #include "vector2.hpp" #include using namespace std; int main() { ServiceLocator::Set(new int(42)); ServiceLocator::Set(new Packet()); cout << FooBar() << endl; ServiceLocator::Set(nullptr); ServiceLocator::Set(nullptr); return 0; }