[Issue 18641] VisualD - First 5 minutes - Improve experience adding .d files to existing C++ projects

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Apr 25 07:29:12 UTC 2018


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

--- Comment #6 from Manu <turkeyman at gmail.com> ---
Ohhh wow. Interesting hack!
Does C++ do anything like that?

What sort of functions are generated but never called?
I kinda imagine that generating a function would imply you intend to call it...
what other mechanisms generate functions but don't call them? Does CTFE emit a
lot of these?

It sounds like this is a problem that could be addressed in DMD... like, it
should be able to keep a record of whether each function was generated by a
mechanism that should or shouldn't add it to the object's symbol table?

--


More information about the Digitalmars-d-bugs mailing list