Re: Removal of std_carray.i from version 4.2
Sietse Achterop <[email protected]> Tue, 26 Mar 2024 10:23:54 +0100
| Newsgroups | gmane.comp.programming.swig |
|---|---|
| Message-ID | <[email protected]> |
On 3/26/24 00:03, William S Fulton wrote:
> Hi Sietse
>
> These were removed as they were undocumented and provided wrappers for a non-existent STL type std::carray. The std namespace is reserved by the
> C++ standard for STL types and adding anything else to it is actually undefined behaviour (you can safely read that as not allowed). SWIG
> provides support for STL containers (this is not one in the STL) and definitely does not want to support undefined behaviour.
>
Hi William,
thanks for the quick reply!
That's clear.
Sietse