Re: [Vala] RAII support in VALA¿??¿?
- From: Jürg Billeter <j bitron ch>
- To: "Martin (OpenGeoMap)" <martin opengeomap org>
- Cc: vala-list gnome org
- Subject: Re: [Vala] RAII support in VALA¿??¿?
- Date: Thu, 25 Sep 2008 15:50:41 +0200
Hi Martin,
On Tue, 2008-09-23 at 09:48 +0200, Martin (OpenGeoMap) wrote:
have Vala suppor to RAII like c++, D, c# or ruby???
Vala supports RAII. If you, for example, use GIO to read files, you
usually don't need to explicitly close the streams. Streams get
automatically closed when the corresponding variable goes out of scope
(or is set to null).
Jürg
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]