Mirror of the Loki library from Alexandrescu.
Find a file
derfel 7c6d48c9d7 Fixed my previous typo.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@94 7ec92016-0320-0410-acc4-a06ded1c099a
2003-02-04 22:33:56 +00:00
Borland Fixed my previous typo. 2003-02-04 22:33:56 +00:00
MSVC Fixed my previous typo. 2003-02-04 22:33:56 +00:00
Reference no message 2003-02-03 11:56:16 +00:00
tools Updated test results: gcc 3.2 pass them all (MT excepted) 2002-11-07 19:55:16 +00:00
AbstractFactory.h no message 2002-10-06 03:05:21 +00:00
AssocVector.h no message 2002-10-06 03:05:21 +00:00
DataGenerators.h no message 2002-10-06 03:05:21 +00:00
EmptyType.h no message 2002-10-06 03:05:21 +00:00
Factory.h no message 2002-10-06 03:05:21 +00:00
Functor.h no message 2002-10-06 03:05:21 +00:00
HierarchyGenerators.h no message 2002-10-06 03:05:21 +00:00
MultiMethods.h no message 2002-10-06 03:05:21 +00:00
NullType.h no message 2002-10-06 03:05:21 +00:00
readme.txt no message 2002-08-29 05:34:04 +00:00
Singleton.cpp no message 2002-10-06 03:05:21 +00:00
Singleton.h no message 2002-10-06 03:05:21 +00:00
SmallObj.cpp no message 2002-10-06 03:05:21 +00:00
SmallObj.h no message 2002-10-06 03:05:21 +00:00
SmartPtr.h no message 2002-10-06 03:05:21 +00:00
static_check.h no message 2002-10-06 03:05:21 +00:00
Threads.h no message 2002-10-06 03:05:21 +00:00
Tuple.h no message 2002-10-06 03:05:21 +00:00
TypeInfo.h no message 2002-10-06 03:05:21 +00:00
Typelist.h no message 2002-10-06 03:05:21 +00:00
TypeManip.h no message 2002-10-06 03:05:21 +00:00
TypeTraits.h no message 2002-10-06 03:05:21 +00:00
Visitor.h no message 2002-10-06 03:05:21 +00:00

Last update: Aug 29, 2002

Directions:

To use Loki, simply extract the files from the archive, give your compiler access to their path, and include them appropriately in your code via #include.

If you use the small object allocator directly or indirectly (through the Functor class) you must add SmallObj.cpp to your project/makefile.

If you use Singletons with longevity you must add Singleton.cpp to your project/makefile.


Compatibility:

Supported Compilers:
Gcc v2.95.3
Microsoft Visual C++ v7.0
Borland C++ Builder v6.0

Mostly Supported:
CodeWarrior 6.0

TypeList:
Microsoft Visual C++ v6.0


CodeWarrior has a problem with the Conversion template (see TypeManip.h) and, though it compiles it, it doesn't provide correct results. Consequently, the DerivedToFront algorithm in Typelist.h does not function. This affects the static dispatcher in Multimethods.h. As a fix, you must order the types (putting the most derived ones in the front) when providing the typelist argument to StaticDispatcher.



More info:

http://moderncppdesign.com
http://sourceforge.net/projects/loki-lib/
http://sourceforge.net/projects/loki-exp/