- Loki (C++)
Infobox Software
name = Loki C++ Library
developer =Andrei Alexandrescu
latest release version = 0.1.6
latest release date = release date and age|2007|2|25
programming language =C++
operating system =Cross-platform
genre =Generic programming
license =MIT Licence
website = http://sourceforge.net/projects/loki-lib/Loki is the name of a
C++ software library written byAndrei Alexandrescu as part of his bookModern C++ Design .The library makes extensive use of C++
template metaprogramming and implements several commonly used tools:typelist , functor, singleton,smart pointer , object factory, visitor and multimethods.Originally the library was only compatible with two of the most standard conforming C++ compilers (
CodeWarrior andComeau C/C++ ): later efforts have made it usable with a wide array of compilers (including older Visual C++ 6.0, Borland C++ Builder 6.0, and GCC). Compiler vendors used Loki as a compatibility benchmark, further increasing the number of compliant compilers.Maintenance and further development of Loki has been continued through an open-source community led by
Peter Kümmel andRichard Sposato as a [http://sourceforge.net/projects/loki-lib/ Sourceforge project] . Ongoing contributions by many people have improved the overall robustness and functionality of the library. Loki is not tied to the book anymore as it already has a lot of new components (e.g. - StrongPtr, Printf, and Scopeguard). Loki inspired similar tools and functionality now also present in theBoost library collection.ee also
*
Modern C++ Design , book describing the library
* Boost, large collection of C++ librariesExternal links
* [http://www.erdani.org/ Andrei Alexandrescu's website]
* [http://loki-lib.sourceforge.net/ Loki successor's home page]
* [http://www.awprofessional.com/content/images/0201704315/sourcecode/loki.zip Original source code from the publisher]
Wikimedia Foundation. 2010.