Re: [Vala] RAII support in VALA¿??¿?



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]