Re: pragma(mangle,"name") for a type?

2017-02-14 Thread Nicholas Wilson via Digitalmars-d
On Tuesday, 14 February 2017 at 11:15:26 UTC, Timothee Cour wrote: How do I define pragma(mangle,"name") for a type? Use case: I'd like to avoid the complications involved in https://github.com/dlang/druntime/pull/1316/files [Addition of C++ std::string, std::vector to D #1316] b

Re: pragma(mangle,"name") for a type?

2017-02-14 Thread kinke via Digitalmars-d
Side note: Microsoft uses a different C++ mangling...

pragma(mangle,"name") for a type?

2017-02-14 Thread Timothee Cour via Digitalmars-d
How do I define pragma(mangle,"name") for a type? Use case: I'd like to avoid the complications involved in https://github.com/dlang/druntime/pull/1316/files [Addition of C++ std::string, std::vector to D #1316] by directly defining the desired mangle for a c++ std::string (+ other s