Mirror of the Loki library from Alexandrescu.
Find a file
magmaikh 72e10284d7 Now uses forward slashes
backslashes didn't work on Linux w/gcc 3.2


git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@44 7ec92016-0320-0410-acc4-a06ded1c099a
2002-09-04 02:46:49 +00:00
Borland No message 2002-08-23 07:22:07 +00:00
MSVC no message 2002-08-15 02:01:04 +00:00
Reference Fixed what I believe is a bug in SUPERSUBCLASS_STRICT 2002-08-15 02:59:47 +00:00
tools Now uses forward slashes 2002-09-04 02:46:49 +00:00
AbstractFactory.h Now uses forward slashes 2002-09-04 02:46:49 +00:00
AssocVector.h Now uses forward slashes 2002-09-04 02:46:49 +00:00
EmptyType.h Now uses forward slashes 2002-09-04 02:46:49 +00:00
Factory.h Now uses forward slashes 2002-09-04 02:46:49 +00:00
Functor.h Now uses forward slashes 2002-09-04 02:46:49 +00:00
HierarchyGenerators.h Now uses forward slashes 2002-09-04 02:46:49 +00:00
MultiMethods.h Now uses forward slashes 2002-09-04 02:46:49 +00:00
NullType.h Now uses forward slashes 2002-09-04 02:46:49 +00:00
readme.txt no message 2002-08-29 05:34:04 +00:00
Singleton.cpp Now uses forward slashes 2002-09-04 02:46:49 +00:00
Singleton.h Now uses forward slashes 2002-09-04 02:46:49 +00:00
SmallObj.cpp Now uses forward slashes 2002-09-04 02:46:49 +00:00
SmallObj.h Now uses forward slashes 2002-09-04 02:46:49 +00:00
SmartPtr.h Now uses forward slashes 2002-09-04 02:46:49 +00:00
static_check.h Now uses forward slashes 2002-09-04 02:46:49 +00:00
Threads.h Now uses forward slashes 2002-09-04 02:46:49 +00:00
Tuple.h Now uses forward slashes 2002-09-04 02:46:49 +00:00
TypeInfo.h Now uses forward slashes 2002-09-04 02:46:49 +00:00
Typelist.h Now uses forward slashes 2002-09-04 02:46:49 +00:00
TypeManip.h Now uses forward slashes 2002-09-04 02:46:49 +00:00
TypeTraits.h Now uses forward slashes 2002-09-04 02:46:49 +00:00
Visitor.h Now uses forward slashes 2002-09-04 02:46:49 +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/