[Issue 5115] std.typecons.scoped problems
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Dec 21 00:50:42 PST 2010
http://d.puremagic.com/issues/show_bug.cgi?id=5115
Lars T. Kyllingstad <bugzilla at kyllingen.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugzilla at kyllingen.net
--- Comment #5 from Lars T. Kyllingstad <bugzilla at kyllingen.net> 2010-12-21 00:48:45 PST ---
Isn't the problem rather that the type of f2 is Scoped!Foo, while the type of
f1 is just Foo? The compiler doesn't know that it should call the destructor
of a Foo at the end of the scope.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list