/
niceSOFT
/
swig
Обзор
Документация
Войти
/
niceSOFT
/
swig
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Examples/test-suite/smart_pointer_const.i
17 строк
210 B
Dave Beazley
The great merge
01 дек 2002, 01:01
01 дек 2002, 01:01
12a43ed
Код
Авторство
О чём код?
%module smart_pointer_const %inline %{ struct Foo { int x; int getx() const { return x; } }; class Bar { Foo *f; public: Bar(Foo *f) : f(f) { } Foo *operator->() { return f; } }; %}