Frits van Bommel
5b82f780f8
Allocate objects on the stack if they (a) don't have a destructor, and
...
(b) don't override the delete operator (on top of the regular conditions for
stack allocation that also apply to arrays, structs, etc.).
The "no destructor" clause is not strictly necessary, but calling them at the
right time would be tricky to say the least; it would involve, among other
things, "manually" inserting a try-finally block around anything that might
throw exceptions not caught in the current function.
Note: objects with custom new operators are automatically ignored because they
don't use the regular allocation runtime call, so there's no need to pay special
attention to them.
2009-05-09 00:50:15 +02:00
..
2009-05-09 00:50:15 +02:00
2009-04-27 13:30:48 +02:00
2008-10-06 22:54:08 +02:00
2009-04-24 16:47:42 +02:00
2009-03-06 16:00:47 +01:00
2009-03-07 14:25:30 +01:00
2009-03-06 16:00:47 +01:00
2009-05-03 11:16:54 +02:00
2009-04-15 20:06:25 +02:00
2009-05-07 21:49:58 +02:00
2009-05-07 21:01:44 +02:00
2009-03-28 19:16:53 +01:00
2008-08-17 12:21:53 +02:00
2009-03-12 20:37:27 +01:00
2009-04-08 23:05:30 +02:00
2009-04-30 12:25:04 +02:00
2009-03-08 16:21:56 +01:00
2009-05-07 02:10:29 +02:00
2009-04-15 20:06:25 +02:00
2009-03-28 05:00:43 +01:00
2008-10-06 22:54:08 +02:00
2009-03-13 19:22:40 +01:00
2009-03-12 20:37:27 +01:00
2009-04-15 20:06:25 +02:00
2009-03-31 01:18:35 +02:00
2009-04-12 12:52:01 +02:00
2009-02-26 14:51:02 +01:00
2009-03-28 06:32:06 +01:00
2009-04-25 09:11:32 +02:00
2009-03-03 02:51:21 +01:00
2009-03-24 21:18:18 +01:00
2009-05-04 20:26:45 +02:00
2009-03-13 16:18:43 +01:00
2009-05-07 15:33:06 +02:00
2009-05-07 15:33:06 +02:00
2009-02-28 22:16:52 +01:00
2009-04-29 18:59:39 +02:00
2009-04-27 13:30:48 +02:00
2009-03-18 15:03:17 +01:00
2009-04-15 20:06:25 +02:00
2009-05-07 15:33:06 +02:00
2009-05-09 00:50:15 +02:00
2009-04-02 17:27:53 -06:00
2009-04-18 00:34:20 +02:00
2009-04-12 13:08:24 +02:00
2009-05-03 21:58:28 +02:00
2009-03-29 19:19:32 +02:00
2009-05-04 13:32:16 +02:00
2009-05-04 13:32:16 +02:00
2009-05-04 20:26:45 +02:00
2007-10-23 05:55:12 +02:00
2009-04-27 13:30:48 +02:00
2009-05-07 21:07:50 +02:00
2009-03-28 05:00:43 +01:00
2009-04-15 20:59:21 +02:00
2009-04-27 13:30:48 +02:00
2009-02-08 16:50:22 +01:00
2009-05-03 11:16:54 +02:00
2009-04-29 18:59:39 +02:00
2009-04-12 21:56:43 +02:00
2009-05-04 13:32:16 +02:00
2009-03-07 19:38:00 +01:00
2009-05-02 11:58:50 +02:00
2009-05-08 16:00:44 +02:00
2009-04-25 18:26:54 +02:00