This repository has been archived on 2026-04-30. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Tortuga/test/main.cpp
T
2013-06-10 17:23:26 +10:00

19 lines
360 B
C++

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