O'Reilly logo

Android NDK Beginner's Guide by Sylvain Ratabouil

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Compiling Boost on Android

If STL is the most common framework among C++ programs, Boost probably comes right after. A real Swiss army knife, this toolkit contains a profusion of utilities to handle most common needs, and even more! The most popular features of Boost are smart pointers, an encapsulation of raw pointers in a reference-counting class to handle memory allocation, and deallocation automatically. They avoid most memory leaks or pointer misuse for almost free.

Boost, like STL, is mainly a template library, which means that no compilation is needed for most of its modules. For instance, including the smart pointer header file is enough to use them. However, a few of its modules need to be compiled as a library first (for example, the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required