Search

November 11, 2021
General »
...but you probably should wrap it with RAII.

Allocating directly from the OS (bypassing malloc...
November 08, 2021
General »
...don't do fine-grained multithreading, so RAII and exceptions covers me well in C...
October 04, 2021
General »
...You can have fully manual memory with RAII and shared/unique pointers if you want...
September 25, 2021
General »
Indeed; additionally, 'scope c = new Class()' _does_ follow RAII.
September 25, 2021
General »
...allocated on the heap do not follow RAII rules, and stack allocations of structs are...
September 24, 2021
General »
...destructors with struct destructors. The
> latter follow RAII rules, the former does not.

Some people...
September 24, 2021
General »
...conflate class destructors with struct destructors. The latter follow RAII rules, the former does not.
September 01, 2021
Announce »
...extern (C)` definitions to a fully featured, RAII-enabled genome sequencing focused bioinformatics package. If...
August 19, 2021
Learn »
...dtor; } ();
                    // __xdtor, i.e. dtors for all RAII members
                    static if (__traits(hasMember, B, "__xdtor...
August 16, 2021
Learn »
...anything to do with the stack or RAII, just using malloc + emplace instead of GC...
1 2 3 4 5 6 7 8 9 10
Next ›   Last »