Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dutor/loki
A C++ Template library, developed by Andrei Alexandrescu, the author of the book Modern C++ Design.
https://github.com/dutor/loki
Last synced: 28 days ago
JSON representation
A C++ Template library, developed by Andrei Alexandrescu, the author of the book Modern C++ Design.
- Host: GitHub
- URL: https://github.com/dutor/loki
- Owner: dutor
- Archived: true
- Created: 2012-10-25T03:28:39.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2020-10-16T09:50:35.000Z (about 4 years ago)
- Last Synced: 2024-08-04T02:09:58.194Z (4 months ago)
- Language: C++
- Size: 251 KB
- Stars: 384
- Watchers: 18
- Forks: 165
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- AwesomeCppGameDev - loki
README
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: http://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.0Mostly Supported:
CodeWarrior 6.0TypeList:
Microsoft Visual C++ v6.0CodeWarrior 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/