mirror of
https://github.com/boostorg/python.git
synced 2026-01-19 16:32:16 +00:00
13 lines
207 B
Plaintext
13 lines
207 B
Plaintext
Include('iostream')
|
|
test = Wrapper('sum',
|
|
'''
|
|
const C sum(const C&, const C&)
|
|
{
|
|
std::cout << "sum!" << std::endl;
|
|
return C();
|
|
}
|
|
'''
|
|
)
|
|
C = Class('C', 'operator.h')
|
|
set_wrapper(C.operator['+'], test)
|