/
niceSOFT
/
swig
Обзор
Документация
Войти
/
niceSOFT
/
swig
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Examples/test-suite/errors/cpp_nested_out_of_line_scope.i
17 строк
507 B
William S Fulton
Keep unsupported nested classes as ignored classes, not forward declarations
08 июн 2026, 09:57
08 июн 2026, 09:57
6ec4b44
Код
Авторство
О чём код?
%module xxx // An out of line nested class definition written inside the enclosing class. The immediate outer // class is itself a nested class, so it is unsupported and not wrapped (Warning 325). The enclosing // scope must still resolve so that the out of line definition is accepted - previously this also // reported the spurious error "Outer is not defined as a valid scope". namespace ns { struct Enclosing { struct Outer { struct Nested; }; struct Outer::Nested { int data; }; }; }