Sign in
fuchsia
/
third_party
/
swig
/
refs/tags/rel-2.0.7
/
.
/
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>
;