What problem is there with modularity. You can define a RAII file handle
object in one module, and use it in another no problem?

Keean.
On 6 Aug 2015 1:14 am, "Jonathan S. Shapiro" <s...@eros-os.org> wrote:

> On Wed, Aug 5, 2015 at 3:52 PM, Keean Schupke <ke...@fry-it.com> wrote:
>
>> Keeping it brief you use RAII for file handles too, and they get closed
>> on exceptions due to stack unwinding.
>>
>> So you would still use RAII for exception safe handling of non-memory
>> resources like file handles, even if you had GC for memory.
>>
> What does this have to do with my question about modularity?
>
> _______________________________________________
> bitc-dev mailing list
> bitc-dev@coyotos.org
> http://www.coyotos.org/mailman/listinfo/bitc-dev
>
>
_______________________________________________
bitc-dev mailing list
bitc-dev@coyotos.org
http://www.coyotos.org/mailman/listinfo/bitc-dev

Reply via email to