upgrade to c++11
remove error verification when copying a slide