Meteor2D
dev internal
Meteor is a lightweight 2D game engine.
Loading...
Searching...
No Matches
typehelpers.h
1
#pragma once
2
namespace
meteor {
3
template
<
typename
Base,
typename
T>
4
inline
bool
instanceof(
const
T*) {
5
return
std::is_base_of<Base, T>::value;
6
}
7
}
D:
Github
Meteor2D
Meteor2D
Engine
include
meteorutils
typehelpers.h
Generated by
1.10.0