/
niceSOFT
/
swig
Обзор
Документация
Войти
/
niceSOFT
/
swig
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Examples/test-suite/errors/cpp_class_template_argument_deduction.i
10 строк
194 B
William S Fulton
C++17: skip class template argument deduction variables
30 май 2026, 02:51
30 май 2026, 02:51
74f7b4b
Код
Авторство
О чём код?
%module xxx template <typename T> struct Box { T value; Box(T v) : value(v) {} }; // CTAD deduced from the constructor - SWIG cannot determine the type, so warns and skips it. Box bx{42};