Iterator support
[QuantLib macros]
Detailed Description
Some compilers still define the iterator struct outside the std namespace, only partially implement it, or do not implement it at all. For the code to be portable these macros should be used instead of the actual functions.
Defines | |
#define | QL_FULL_ITERATOR_SUPPORT |
Define Documentation
#define QL_FULL_ITERATOR_SUPPORT |
Some compilers (most notably, Visual C++ 6) still do not fully support iterators in their STL implementation. This macro can be used to select between alternate implementations of blocks of code, namely, one that takes advantage of full iterator support and a less efficient one which is compatible with all compilers.