https://issues.dlang.org/show_bug.cgi?id=21903
--- Comment #2 from SHOO <zan77...@nifty.com> --- (In reply to Adam D. Ruppe from comment #1) > Try > > scope B b = new B(); > > it should work. This method is not flexible enough for compound use of custom allocators, templates, and classes without default constructors. --