Sign in
fuchsia
/
third_party
/
swig
/
fc2f0204ba735ea9374933ff947d48fbec0b2deb
/
.
/
Examples
/
test-suite
/
template_const_ref.i
blob: 196ca9005d0f8f2534fc38e5a8fe66250d0610f3 [
file
] [
log
] [
blame
]
%
module
template_const_ref
%
inline
%{
template
<
class
T
>
class
Foo
{
public
:
char
*
bar
(
const
T
&
obj
)
{
return
(
char
*)
"Foo::bar"
;
}
};
class
Bar
{
};
%}
%
template
(
Foob
)
Foo
<
const
Bar
*>;
%
template
(
Fooi
)
Foo
<
const
int
*>;