/
niceSOFT
/
swig
Обзор
Документация
Войти
/
niceSOFT
/
swig
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Examples/test-suite/errors/cpp_template_concept.i
10 строк
205 B
William S Fulton
C++20 concepts: parser builds the constraint subtree alongside the string
10 май 2026, 19:37
10 май 2026, 19:37
dcbd7f4
Код
Авторство
О чём код?
%module xxx %inline %{ #include <concepts> template<typename T> concept Numeric = std::integral<T>; %} // Concepts are not types and cannot be %template instantiated. %template(NumericInt) Numeric<int>;