https://d.puremagic.com/issues/show_bug.cgi?id=11740
--- Comment #3 from yebblies <yebbl...@gmail.com> 2013-12-16 15:52:29 EST --- (In reply to comment #1) > Errm... > > This is working correctly as designed. Structs with constructors are > considered > non-POD, so they cannot be bit-copied in and out of registers. No, it is not. Constructors should not cause a struct to be considered non-POD for extern(C++) functions. I don't care what we do with extern(D) functions, but we need to match the C++ compiler. "If a C++ object has either a non-trivial copy constructor or a non-trivial destructor [11], it is passed by invisible reference (the object is replaced in the parameter list by a pointer that has class INTEGER)[12]" -- Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------