Andreas Kling
c02c9880b6
AK: Add Eternal<T> and use it in various places.
...
This is useful for static locals that never need to be destroyed:
Thing& Thing::the()
{
static Eternal<Thing> the;
return the;
}
The object will be allocated in data segment memory and will never have
its destructor invoked.
2019-04-03 16:52:25 +02:00
..
2019-02-02 04:41:59 +01:00
2019-02-25 16:04:08 +01:00
2019-02-25 16:04:08 +01:00
2019-03-20 04:21:58 +01:00
2019-03-20 04:21:58 +01:00
2019-02-25 22:06:55 +01:00
2019-02-19 14:49:23 +01:00
2019-04-03 13:51:49 +02:00
2019-04-03 13:51:49 +02:00
2019-04-03 14:32:45 +02:00
2019-04-03 14:32:45 +02:00
2019-03-29 15:01:54 +01:00
2019-03-29 15:01:54 +01:00
2019-04-03 14:15:35 +02:00
2019-03-21 03:57:42 +01:00
2019-03-31 22:09:10 +02:00
2019-03-24 00:53:16 +01:00
2019-03-21 03:57:42 +01:00
2019-02-19 16:37:12 +01:00
2019-03-09 21:09:29 +01:00
2019-03-21 05:25:54 +01:00
2019-04-03 16:52:25 +02:00
2019-04-03 16:52:25 +02:00
2019-02-28 11:27:04 +01:00