Commit Graph

9 Commits

Author SHA1 Message Date
Olly Betts bb2b97b228 Fix comment typos 2023-10-11 08:54:37 +13:00
William S Fulton 25cfde71e7 Fix testcase for C++20
Aggregate initialization no longer possible in C++20 with user declared constructors
2023-09-03 09:10:50 +01:00
William S Fulton fb7e0ef069 C++11 single default deleted constructor fix
Fix for when a class has a default deleted constructor and does
not have any other constructors (except implicit or explicit copy
constructors).

Closes #1644
2023-09-02 14:07:47 +01:00
William S Fulton 605e5a1abb C++11 default deleted constructors fix
SwigValueWrapper was not being used when the default constructor is
deleted for a type passed around by value.

Fix is only for when other constructors declarations are present,
deleted, defaulted or not.

Issue #1644
2023-09-02 12:35:39 +01:00
William S Fulton 06e5ab8975 Workaround clang 10.0.1 C++17 linker errors in testcases
Fixes:
  Undefined symbols for architecture x86_64: "___cxa_deleted_virtual"
which clang issues when a class deletes a method (seems to be when the
function is not one of the compiler's automatically added special member
functions).
2019-06-27 07:40:49 +01:00
William S Fulton 95e8643d70 Rename func to funk in tests to avoid Go keyword problems 2017-06-16 19:24:48 +01:00
William S Fulton fcd0480364 Fix some cases of C++11 exception specifications on constructors with =default or =delete 2013-11-22 00:13:48 +00:00
William S Fulton e566c5fa7f Add support for parsing C++11 =delete and =default
Although this was documented as working, it wasn't implemented
%typemap(default) failed without the idstring changes
Add some C tests using the C++ keyword delete
2013-11-20 19:12:16 +00:00
William S Fulton 738cc36aab Rename all C++0x to C++11 and cpp0x to cpp11 2013-10-07 20:37:00 +01:00