c++11android-ndkc++14bionic

Does NDK support C++14?


Currently working on something where I need to develop some feature using C++14, but still wondering on whether it can be supported by Bionic & NDK??

From Bionic Wiki Status, C++11 featureshas been implemented/included into Bionic. Only catch is, it is done Android Oreo onwards (which is totally fine for my development :p )

So my question would be:


Solution

  • Bionic is the standard C library. It does not support any C++ std library features let alone C++14.

    If you are asking about NDK, then as per the cpp-support page for NDK, LLVM's libc++ is the C++ standard library that has been used by the Android OS since Lollipop and this supports C++17 features.

    enter image description here