Re: [gtkmm] Glib::Module API issues



>Test::Test(const int size)
>{
>	my_array = new char[size];
>}
>
>will throw a memory exception if size it too large. 

except, of course, that under linux, memory allocation more or less
never fails. not that is, until you try to touch what you allocated :(

--p



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]