SORU
19 AĞUSTOS 2014, Salı


C C 14 yeni anahtar kelimeler ekleyerek.

C Standartları Komitesi uzakta diline yeni kelimeler ekleyerek utangaç, ama durum böyle değildi C 11 ile benzerlik gösterir. Bazı örnekler:

constexpr
decltype
thread_local
auto // New usage
noexcept
nullptr
static_assert
alignof
alignas

Herhangi bir yeni anahtar kelimeler C 14 ile tanıştırdı var mı?

CEVAP
19 AĞUSTOS 2014, Salı


Tablo 4 (anahtar Kelimeler) N3936 (C 14):

alignas           continue          friend            register          true
alignof           decltype          goto              reinterpret_cast  try
asm               default           if                return            typedef
auto              delete            inline            short             typeid
bool              do                int               signed            typename
break             double            long              sizeof            union
case              dynamic_cast      mutable           static            unsigned
catch             else              namespace         static_assert     using
char              enum              new               static_cast       virtual
char16_t          explicit          noexcept          struct            void
char32_t          export            nullptr           switch            volatile
class             extern            operator          template          wchar_t
const             false             private           this              while
constexpr         float             protected         thread_local
const_cast        for               public            throw

N3337 4 (C 11) tablo:

alignas           continue          friend            register          true
alignof           decltype          goto              reinterpret_cast  try
asm               default           if                return            typedef
auto              delete            inline            short             typeid
bool              do                int               signed            typename
break             double            long              sizeof            union
case              dynamic_cast      mutable           static            unsigned
catch             else              namespace         static_assert     using
char              enum              new               static_cast       virtual
char16_t          explicit          noexcept          struct            void
char32_t          export            nullptr           switch            volatile
class             extern            operator          template          wchar_t
const             false             private           this              while
constexpr         float             protected         thread_local
const_cast        for               public            throw

diyerek uzun soluklu bir yoldur..."". hayır

(override final "özel bir anlamı ile tanımlayıcı" ve Tabloda yer alan 3; and vb. "...belli operatörler için ve punctuators diğer gösterimler" ve Tablo 5'te listelenmiştir. Ne masa ve C C 11 arasında 14. değişti)

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • Capcom Unity

    Capcom Unity

    5 NİSAN 2010
  • Huot Media

    Huot Media

    7 Mayıs 2010
  • The10HourMan

    The10HourMan

    28 EYLÜL 2012