Check out example codes for "disable gnu++11 option". It will help you in understanding the concepts better.

Code Example 1

set(CMAKE_CXX_EXTENSIONS OFF)

Learn ReactJs, React Native from akashmittal.com