DIP1000 finds stack corruption bug in std.socket

Meta jared771 at gmail.com
Sat Mar 23 19:58:34 UTC 2019


On Saturday, 23 March 2019 at 16:32:00 UTC, bitwise wrote:
> It's disappointing to hear the current plans for scope are so 
> limited. I originally thought that scope would be a general 
> type qualifier which restricted anything it was applied to from 
> being copied out of it's current scope.
>
> I was hoping to be able to apply scope to range objects 
> returned from containers so they couldn't leave the scope of 
> where they were retrieved. I also saw that Atila used scope on 
> a postblit, which also seems like something that should keep 
> the range from leaving the scope where it was retrieved. If I 
> understand correctly though, neither of these uses is 
> officially supported or planned right now - is that correct?
>
> Thanks,
>     Bit

I also had this misconception initially because that's how scope 
was originally defined to work; hence this thread: 
https://forum.dlang.org/thread/zayyoiupftrvbummxabk@forum.dlang.org



More information about the Digitalmars-d mailing list