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