From: Patrick Beard
Clang provides support for Object Literals and Subscripting in Objective-C, which simplifies common Objective-C programming patterns, makes programs more concise, and improves the safety of container creation. There are several feature macros associated with object literals and subscripting: __has_feature(objc_array_literals)
tests the availability of array literals; __has_feature(objc_dictionary_literals)
tests the availability of dictionary literals; __has_feature(objc_subscripting)
tests the availability of of object subscripting.
Clang provides support for Object Literals and Subscripting in Objective-C, which simplifies common Objective-C programming patterns, makes programs more concise, and improves the safety of container creation. There are several feature macros associated with object literals and subscripting: __has_feature(objc_array_literals)
tests the availability of array literals; __has_feature(objc_dictionary_literals)
tests the availability of dictionary literals; __has_feature(objc_subscripting)
tests the availability of object subscripting.