Sign in
pigweed
/
third_party
/
github
/
pybind
/
pybind11
/
032e73d5632a99196a33ca6ae1ff7b8fdfe31cdf
/
.
/
tests
/
test_cross_module_rtti
/
lib.cpp
blob: 927ed044bc75c02b388df77f1f51a459a9d66be7 [
file
] [
log
] [
blame
]
#include
<lib.h>
namespace
lib
{
Base
::
Base
(
int
a
,
int
b
)
:
a
(
a
),
b
(
b
)
{}
int
Base
::
get
()
const
{
return
a
+
b
;
}
Foo
::
Foo
(
int
a
,
int
b
)
:
Base
{
a
,
b
}
{}
int
Foo
::
get
()
const
{
return
2
*
a
+
b
;
}
}
// namespace lib