Skip to content
This repository has been archived by the owner on Jul 6, 2021. It is now read-only.
/ loki Public archive

A C++ Template library, developed by Andrei Alexandrescu, the author of the book Modern C++ Design.

Notifications You must be signed in to change notification settings

dutor/loki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Loki

A C++ Template library, developed by Andrei Alexandrescu, the author of the book Modern C++ Design.

Source code in this project is tied to Modern C++ Design. For the mostly recent updates, please refer to the official project in SourceForge.net: https://sourceforge.net/projects/loki-lib/files/Loki/

The purpose to create this repository is just to do experiments in Modern C++ Design.

Quotation from the original readme.txt

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:

https://moderncppdesign.com

https://sourceforge.net/projects/loki-lib/

https://sourceforge.net/projects/loki-exp/

About

A C++ Template library, developed by Andrei Alexandrescu, the author of the book Modern C++ Design.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published