1 #ifndef Rice__Constructor__hpp_
2 #define Rice__Constructor__hpp_
7 #include "to_from_ruby_defn.hpp"
24 template<
typename T,
typename ...Arg_T>
28 static void construct(
Object self, Arg_T... args)
30 DATA_PTR(
self.value()) =
new T(args...);
35 template<
typename T,
typename ...Arg_T>
39 static void construct(
Object self, Arg_T... args)
41 DATA_PTR(
self.value()) =
new T(
self, args...);
Define a Type's Constructor and it's arguments.
Definition: Constructor.hpp:26
The base class for all Objects.
Definition: Object_defn.hpp:25