Added Entityx to project
This commit is contained in:
23
external/entityx-1.1.2/cxx11/demo.cpp
vendored
Normal file
23
external/entityx-1.1.2/cxx11/demo.cpp
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
|
||||
#include <iostream>
|
||||
|
||||
int main()
|
||||
{
|
||||
std::cout << "Testing\n";
|
||||
std::cout << "Has static_assert: " <<
|
||||
#ifdef HAS_CXX11_STATIC_ASSERT
|
||||
"yes :)"
|
||||
#else
|
||||
"no"
|
||||
#endif
|
||||
<< "\n";
|
||||
std::cout << "Has variadic templates: " <<
|
||||
#ifdef HAS_CXX11_VARIADIC_TEMPLATES
|
||||
"yes :)"
|
||||
#else
|
||||
"no"
|
||||
#endif
|
||||
<< "\n";
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user