You are on page 1of 2

Tbe New C++ {C++]

1he C++ LhaL we all know ls C++03 1hls refers Lo an lSC sLandard approved ln 2003 Lver
slnce lLs lnvenLlon ln 1983 by 8[arne SLrousLrup Lhe Language of C++ ls under conLlnuous evoluLlon
1he laLesL approved C++ sLandard ls C++11 lSC approved Lhls offlclal verslon of C++11 ln AugusL
2011 C++11 was publlshed as lSC/lLC 148822011
4
ln SepLember 2011 and ls avallable for a fee
Along wlLh some language addlLlons Lo lmprove performance Lhere have been several addlLlons Lo
SLandard Llbrary as well
C++11 provldes feaLures for wrlLlng concurrenL programs ln a Lype safe manner LhaL work well ln
MulLl Core LnvlronmenL Some of Lhese concepLs/exLenslons are borrowed from languages llke !ava
C# u 1hese changes can be summarlsed as below
O LxLenslons
4 value references and move consLrucLors
4 ConsLanL Lxpresslons
4 uefaulL ConsLrucLor SynLax
O 8ulld 1lme erformance lmprovemenLs
4 LxLern 1emplaLe
O DsablllLy LnhancemenLs
4 lnlLlallzer LlsL ConsLrucLor
4 Dnlform lnlLlallsaLlon
4 1ype lnference uslng auLo"
4 ange based for loop
4 Anonymous funcLlons
4 AlLernaLlve funcLlon synLax
4 uelegaLlon uslng peer consLrucLors
4 LxpllclL overrlde" and flnal"
4 nullpLr" keyword
4 enum" classes
4 -o space afLer rlghL angle brackeL
And several oLhers
O uncLlonallLy lmprovemenLs
4 AddlLlon of char16_L and char32_L
4 Dser deflned laLerals
4 MulLlLasklng memory model
4 Local sLorage for Lhreads
4 LxpllclL defaulL" and deleLe" member funcLlons
4 long long lnL
4 sLaLlc_asserL for LemplaLes
4 slzeof for members of classes

lease refer Lo Lhe below llnks for more lnformaLlon on lSC C++11x
hLLp//www2researchaLLcom/bs/C++0xAChLml
hLLp//wwwopensLdorg/[Lc1/sc22/wg21/docs/papers/2011/n3242pdf
hLLp//enwlklpedlaorg/wlkl/C282811

You might also like