add examples for cxx11 and cxx14