General pointers: are there any differences between the "sp <>" patterns and the BOOST "shared_ptr <>" pattern?
I'm getting started with some Android NATIVE encoding (like C ++, not Java, for example), and you need to use the fairly undocumented pointer class sp <> ("Strong Pointer") refcount'd.
As far as I can tell, the Android sp <> template looks VERY just like the more familiar BOOST shared_ptr <> template. Standard recount mechanism. They do NOT seem compatible in part. For example, strong pointers do NOT seem thread safe. What other errors are there between them?
The broader question is: why is there no online link for NDK? Do they have disk space issues on developer.android.com that they cannot fit it there? Grumble
Android sp <> is undocumented because it is part of the platform, and its implementation may change between versions of the platform. You should not use it in the NDK code unless you copy all the headers and corresponding source files into your own project.
: - ref-counting , ARM ( x86, x86_64). Chrome ref-counting (.. base::RefCounted base::RefCountedThreadSafe).
gotchas, , , Boost. , , , , .