mirror of https://github.com/axmolengine/axmol.git
13 lines
251 B
C++
13 lines
251 B
C++
|
#pragma once
|
||
|
|
||
|
namespace jni
|
||
|
{
|
||
|
template < class Result > struct ThingToMake {};
|
||
|
|
||
|
template < class Result, class... P >
|
||
|
auto Make(P&&... p)
|
||
|
{
|
||
|
return MakeAnything(ThingToMake<Result>(), std::forward<P>(p)...);
|
||
|
}
|
||
|
}
|