On Tuesday, August 28, 2018 11:31:40 PM MDT Walter Bright via Digitalmars-d wrote: > On 8/28/2018 6:39 AM, Iain Buclaw wrote: > > Template emission strategy is a mess, we're better off just > > instantiating all templates in all compilation units, and let the > > compiler decide whatever to discard. Even -allinst does not instantiate > > enough to allow the compiler to make such decisions that C++ has no > > problem with (most of the time). > > Martin and I proposed a simple strategy for that, but Kenji implemented a > different algorithm that nobody understands, and has proved inadequate. > There are a couple unresolved bug reports on that.
Would it make sense then to change it to work more like what you and Martin were thinking of doing? - Jonathan M Davis
