mirror of https://github.com/swig/swig
23 lines
307 B
OpenEdge ABL
23 lines
307 B
OpenEdge ABL
%module copyctor
|
|
|
|
%copyctor;
|
|
|
|
%inline %{
|
|
struct Bar {};
|
|
struct Car {};
|
|
|
|
struct Foo {
|
|
Foo() {}
|
|
template <class T> Foo(const T* p) {}
|
|
Foo(const Bar& other) {}
|
|
};
|
|
|
|
struct Hoo {
|
|
Hoo() {}
|
|
template <class T> Hoo(const T* p) {}
|
|
Hoo(const Bar& other) {}
|
|
};
|
|
%}
|
|
|
|
%template(Hoo) Hoo::Hoo<Car>;
|