...

/

Attributes in C++11/C++14

Attributes in C++11/C++14

Let's take a look at specific attributes in C++ 11 and attribute additions in C++ 14.

Specifying Annotations in C++11

C++11 took one big step to minimize the need to use vendor specific syntax. By introducing the standard format, we can move a lot of compiler-specific attributes to the universal set.

C++11 provides a cleaner format of specifying annotations over our code.

The basic syntax is just [[attr]] or ...