Sign in
android
/
platform
/
external
/
swig
/
7aafe3d8b2c8b138c431d5fcc98a4d2a7c3270f9
/
.
/
Examples
/
test-suite
/
template_construct.i
blob: a6e8c3c333f89db410b2554bc0296f753d66d43c [
file
] [
log
] [
blame
]
%
module
template_construct
// Tests templates to make sure an extra <> in a constructor is ok.
%
inline
%{
template
<
class
T
>
class
Foo
{
T y
;
public
:
Foo
<
T
>(
T x
)
:
y
(
x
)
{
}
};
%}
%
template
(
Foo_int
)
Foo
<int>
;