您的位置:首页 > 编程语言 > C语言/C++

Loki (C++) - Wikipedia, the free encyclopedia

2012-07-27 19:44 351 查看
Loki (C++) - Wikipedia, the free encyclopedia

Loki (C++)

From Wikipedia, the free encyclopedia

Jump to: navigation,
search

Loki C++ Library
Developer(s)Andrei Alexandrescu
Stable release0.1.7 / January 29, 2009; 3 years ago (2009-01-29)
Programming language usedC++
Operating systemCross-platform
TypeGeneric programming
LicenseMIT Licence
Websitehttp://sourceforge.net/projects/loki-lib/
Loki is the name of a C++ software library written by Andrei Alexandrescu as part of his book Modern 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 and Comeau 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 [1].

Maintenance and further development of Loki has been continued through an open-source community led by Peter Kümmel and Richard Sposato as a 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 the Boost library collection[citation needed].

[edit] See also

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: