How to use minimal gc support C ++ 11

As I know, C ++ 11 GC support just provides the GC interface, and there is no implementation that supports this GC. But anyway, if there was an implementation that supports C ++ 11 GC, How can I use GC?

edit: and please explain to me the support function of C ++ 11 GC (of course, if the implementation is supported by C ++ 11 GC), declare_reachabe() undeclare_reachabe() declare_no_pointers() undeclare_no_pointers() get_pointer_safety()

+4
source share
1 answer

The main idea of ​​GC is that you simply ignore it (and ignore the removal of objects when you finish using them).

/, - (, "swizzle" ). , .

, , , . , , , .

+3

All Articles