Mirror of the Loki library from Alexandrescu.
Find a file
syntheticpp 3b31e3dc78 Functor does not work with the new Functor::operator== ;add operator== to Functor, initiated by Eric Beyeler
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@664 7ec92016-0320-0410-acc4-a06ded1c099a
2006-06-01 12:40:24 +00:00
doc change output directory 2006-03-08 17:26:50 +00:00
include add operator== to Functor, initiated by Eric Beyeler 2006-06-01 12:33:05 +00:00
lib add comment for missing lib when using ms toolkit 2003. directory is not empty thus it is also checked out; this prevents a mising directory error when using make 2005-11-15 11:05:22 +00:00
macosx adding an XCode build project 2006-04-07 16:27:11 +00:00
src fix broken mingw build 2006-06-01 10:09:50 +00:00
test Functor does not work with the new Functor::operator== ;add operator== to Functor, initiated by Eric Beyeler 2006-06-01 12:40:24 +00:00
tools/HeaderGen update makefiles 2005-09-24 16:34:19 +00:00
CHANGES update Changes, prepare for 0.1.5 2006-05-20 11:14: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 update msvc project files, all now msvc8, simplify listed files to the relevant ones 2006-03-03 12:58:02 +00:00
loki.spec prepare for 0.1.5 2006-05-20 11:16:13 +00:00
Loki_Debug.dev Added StrongPtr.cpp and StrongPtr.h files to MinGW projects. 2006-04-06 03:49:37 +00:00
make.mingw.bat - Various makefile improvements (better mingw support, easier to add new sources) 2006-04-18 07:29:41 +00:00
make.msvc.bat add support of loki.dll 2006-02-27 19:59:20 +00:00
Makefile also build the tests by default, so we will get more compilations/tests on different machines and maybe more bug reports 2006-05-20 09:37:54 +00:00
README - Added gcc 4.1 to the supported compilers 2006-03-14 22:46:00 +00:00

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/