Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

Loki Library in Modern C++ Design:Applied Generic and Design Patterns

raymond101
Beginner
355 Views
Has anyone tried the above library with W_CC_PC_8[1].0.048.exe and if so to what extent does it compile and execute relative to 7.1?
0 Kudos
1 Reply
Max_L
Employee
355 Views
This library in distribution has differentiation for compilers that support all extreme C++ language features (Reference variant) and not support (somehow workarounded or restricted variants).

At the early beginning Loki headers detects Intel Compiler as fully supporting all C++ features used, and used Reference realization.

If you take a look to any top level header, you'll see:

#ifdef LOKI_USE_REFERENCE
# include "Reference/EmptyType.h"
#else
# if (__INTEL_COMPILER)
# include "Reference/EmptyType.h"
# elif (__MWERKS__)
# include "Reference/EmptyType.h"
# elif (__BORLANDC__ >= 0x560)
# include "Borland/EmptyType.h"
# elif (_MSC_VER >= 1301)
# include "Reference/EmptyType.h"
# elif (_MSC_VER >= 1300)
# include "MSVC/1300/EmptyType.h"
# elif (_MSC_VER >= 1200)
# include "MSVC/1200/EmptyType.h"
# else
# include "Reference/EmptyType.h"
# endif
#endif

Intel compiler is a first Reference compiler there :)

It is real fact that Intel C/C++ Compiler has superior support of ISO C99 and ISO C++ standards and language features.

Thanks,
Max
0 Kudos
Reply