Intel® C++ Compiler 16.0 User and Reference Guide
Indicates that a function has no effect other than returning a value and that it uses only its arguments to generate that return value.
Windows* OS: __declspec(const) |
Linux* OS: __attribute__((const)) |
None |
This keyword is equivalent to the gcc* attribute const and applies to function declarations.