Open
Description
When I run c++2py on a function in a class method that returns a complex array I get:
c.add_method("""triqs::arrays::array<std::__1::complex<double>,2> get_array ()""",
doc = r"""""")
Here the __1
is an inline namespace that libc++ uses, and compiles correctly. However, the __1
should be removed (to give simply std::complex<double>
), otherwise there is an error when compiling using libstdc++.
Questions:
-
How are inline namespaces treated by c++2py?
-
Is the stripping of inline namespaces also done for compound return types? (see also Qualification in compound return types #28 ).
Activity