SWIG syntax error on list initializer of template ctor parameter

[email protected]
Newsgroups gmane.comp.programming.swig
Message-ID <20200924055705.x2ru6vorkyenti2j@70-36-235-101.dsl.static.fusionbroadband.com>
Meta-issue: Is it better to ask questions here, or on SO?  (SO is easier.)

It's been awhile since I've done C++ coding, and I'm new to SWIG.  I posted
my code to https://github.com/performantdata/swig-issue-2020-09/

I'm trying to define an instance of a fully-specialized template and make
it visible to Java.  The template ctor takes one parameter, a std::array.
When I use a braced-init-list in the C++ header:

```
const A<char, 3> A3(std::array<char, 3>{'A','B','C'});
```

that seems fine to C++.  But when I specify that in the .i file, SWIG
fails with "Error: Syntax error in input(1)."  If I remove the initializer
list, SWIG succeeds, but the C++ compilation of the SWIG-generated wrapper
fails, because it doesn't pass a parameter to the A ctor.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.