Mirror of the Loki library from Alexandrescu.
Go to file
King_DuckZ 7c87e9c9dc Buildfix, missing include path 2014-04-22 23:50:11 +02:00
doc Fixed 3415388. Changed predefined to match #define in Threads.h 2011-09-30 19:58:43 +00:00
include Made documentation comment consistent. 2012-04-03 05:46:56 +00:00
lib svn propdel svn:executable -R * 2006-10-17 18:16:19 +00:00
macosx switching xcode build to loki.framework rather than Loki.framework for consistency with other platforms 2006-06-04 20:14:49 +00:00
src Added overloaded version of file. 2012-04-03 05:45:23 +00:00
test Cosmetic changes. 2011-11-07 23:31:36 +00:00
CHANGES Added documentation for recent release. 2009-01-28 04:15:21 +00:00
CMakeLists.txt Buildfix, missing include path 2014-04-22 23:50:11 +02:00
Loki.cbp Changed some parameters. 2011-11-07 23:56:57 +00:00
Loki.dev Added StrongPtr.cpp and StrongPtr.h files to MinGW projects. 2006-04-06 03:49:37 +00:00
Loki.sln Updated to MSVC 10. Added Register project. 2011-10-20 07:25:44 +00:00
Loki.workspace Use more recent project files. 2012-04-02 06:07:08 +00:00
Loki_Debug.dev Added StrongPtr.cpp and StrongPtr.h files to MinGW projects. 2006-04-06 03:49:37 +00:00
Loki_MSVC_8.sln add eol property 2008-12-10 20:24:09 +00:00
Loki_MSVC_9.sln Added project to test if compiler implements thread_local correctly. 2009-11-20 06:37:12 +00:00
Makefile svn propdel svn:executable -R * 2006-10-17 18:16:19 +00:00
Makefile.common - Updated information for next release 2007-05-29 02:26:26 +00:00
Makefile.deps - Create initial 0.1.6 changelog 2006-07-14 07:31:37 +00:00
README - Added gcc 4.1 to the supported compilers 2006-03-14 22:46:00 +00:00
loki.spec prepare release 2007-02-25 15:49:51 +00:00
make.mingw.bat svn propdel svn:executable -R * 2006-10-17 18:16:19 +00:00
make.msvc.bat svn propdel svn:executable -R * 2006-10-17 18:16:19 +00:00

README

Last update: Novmber 16, 2005

Directions:

To use Loki, simply extract the files from the archive, 
give your compiler access to their include path:

- if you have a standard conforming compiler use "loki/include/loki" 
  or "loki/include" for "#include <loki/HeaderFile.h>" usage

- if you have a non-conforming compiler use "loki/include/noncc/loki" 
  or "loki/include/noncc" for "#include <loki/HeaderFile.h>" usage. 
  The noncc files are declared as 'deprecated' and will be removed in
  future. They are also not updated with the new features of Loki 
  and bugfixes (unless YOU do it).


If you use the small object allocator directly or indirectly 
(through the Functor class) you must add src/SmallObj.cpp to your 
project/makefile.

If you use Singletons with longevity you must add 
src/Singleton.cpp to your project/makefile.

If you use OrderedStatic.h with you must add 
src/OrderedSataic.cpp to your project/makefile.

Or use the library generated by make.msvc.bat, make.mingw.bat,
or make.


Compatibility:

Supported Compilers:
Gcc v3.4
Gcc v4.0
Gcc v4.1
Microsoft Visual C++ v7.1
Microsoft Visual C++ v8.0

by special noncc files:
Borland C++ Builder v6.0
Microsoft Visual C++ v6.0
Microsoft Visual C++ v7.0
see also readme.txt files


Mostly Supported:
CodeWarrior 6.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:

Andrei's page  : http://erdani.org 
Soureforge page: http://sourceforge.net/projects/loki-lib/