axmol/3rdparty/jni.hpp/include/jni/make.hpp

13 lines
251 B
C++
Raw Normal View History

#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)...);
}
}