swig/Examples/test-suite/errors/cpp_class_template_argument...

11 lines
194 B
OpenEdge ABL

%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};