C++Attributes

Syntax

  • [[details]]: Simple no-argument attribute

  • [[details(arguments)]]: Attribute with arguments

  • __attribute(details): Non-standard GCC/Clang/IBM specific

  • __declspec(details): Non-standard MSVC specific

Related Examples