http://d.puremagic.com/issues/show_bug.cgi?id=11284
Max Samukha <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #4 from Max Samukha <[email protected]> 2013-10-18 16:07:29 PDT --- (In reply to comment #1) > It makes sense, but in this particular case: Why is foo!double put into a.obj > in the first place, when it is only used in CTFE? From reading the NG, it > seems > there are a lot of unnecessary templates instantiated, for things like > template > constraints. > > Best regards, > Robert That is the problem. There should be a way to specify that a function is intended for use only in CTFE. I tend to wrap the body of such functions in "if (__ctfe) {...} else assert(false); but that still sucks. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
