Overview | Group | Tree | Graph | Deprecated | Index | Concepts |
Unless ILONOLOCATIONS is defined, this macro expands to:
extractable.setLocation(__FILE__, __LINE__)
The result is that the current source location is stored in the provided
extractable. CP Optimizer can use the stored location in error messages and
in model dumps.
When ILONOLOCATIONS is defined then this macro expands to an empty string. Storing source file locations in an object has some minor memory and time cost. By defining ILO_NO_MEMORY_LOCATIONS, it is possible to easily turn off location storing and eliminate this cost, e.g. for release mode complication. Note that in order to be effective, ILONOLOCATIONS must be defined before any Concert or CP Optimizer header file is included in your source file.
See Also: