[Issue 24012] New: [spec/cpp_interface] _d_dynamicArray generated by -HC not documented

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jun 24 16:42:15 UTC 2023


https://issues.dlang.org/show_bug.cgi?id=24012

          Issue ID: 24012
           Summary: [spec/cpp_interface] _d_dynamicArray generated by -HC
                    not documented
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dlang.org
          Assignee: nobody at puremagic.com
          Reporter: nick at geany.org

extern (C) const(char)[] slice;

Note extern (C), not extern (C++) - see issue 18716.

dmd -HC generates the following C++ declaration:

extern "C" _d_dynamicArray< const char > slice;

PR incoming.

--


More information about the Digitalmars-d-bugs mailing list