Mirror of the Loki library from Alexandrescu.
1b9fb1665e
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@15 7ec92016-0320-0410-acc4-a06ded1c099a |
||
---|---|---|
AbstractFactory.h | ||
AssocVector.h | ||
EmptyType.h | ||
Factory.h | ||
Functor.h | ||
HierarchyGenerators.h | ||
MultiMethods.h | ||
NullType.h | ||
readme.txt | ||
Singleton.cpp | ||
Singleton.h | ||
SmallObj.cpp | ||
SmallObj.h | ||
SmartPtr.h | ||
static_check.h | ||
Threads.h | ||
Tuple.h | ||
TypeInfo.h | ||
Typelist.h | ||
TypeManip.h | ||
TypeTraits.h | ||
Visitor.h |
Last update: June 20, 2001 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: Loki has been tested with Metrowerks CodeWarrior Pro 6 under Windows. 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. Also, Loki has been ported to gcc 2.95.3 by Nick Thurn. More info: http://moderncppdesign.com