Intel® oneAPI DPC++/C++ Compiler
Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-350D3F61-52DE-4FD8-8C77-1CE527E062D6
Visible to Intel only — GUID: GUID-350D3F61-52DE-4FD8-8C77-1CE527E062D6
const
Indicates that a function has no effect other than returning a value and that it uses only its arguments to generate that return value.
Syntax
Windows: __declspec(const) |
Linux: __attribute__((const)) |
Arguments
None |
Description
This keyword is equivalent to the gcc* attribute const and applies to function declarations.