Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/external/loki/README @ 11504

Last change on this file since 11504 was 7266, checked in by rgrieder, 14 years ago

Moved Loki library files to separate loki folder in externals.
Also added TypeManip.h (now used in Convert.h) and static_check.h.

  • Property svn:eol-style set to native
File size: 1.8 KB
RevLine 
[7266]1Last update: Novmber 16, 2005
2
3Directions:
4
5To use Loki, simply extract the files from the archive,
6give your compiler access to their include path:
7
8- if you have a standard conforming compiler use "loki/include/loki"
9  or "loki/include" for "#include <loki/HeaderFile.h>" usage
10
11- if you have a non-conforming compiler use "loki/include/noncc/loki"
12  or "loki/include/noncc" for "#include <loki/HeaderFile.h>" usage.
13  The noncc files are declared as 'deprecated' and will be removed in
14  future. They are also not updated with the new features of Loki
15  and bugfixes (unless YOU do it).
16
17
18If you use the small object allocator directly or indirectly
19(through the Functor class) you must add src/SmallObj.cpp to your
20project/makefile.
21
22If you use Singletons with longevity you must add
23src/Singleton.cpp to your project/makefile.
24
25If you use OrderedStatic.h with you must add
26src/OrderedSataic.cpp to your project/makefile.
27
28Or use the library generated by make.msvc.bat, make.mingw.bat,
29or make.
30
31
32Compatibility:
33
34Supported Compilers:
35Gcc v3.4
36Gcc v4.0
37Gcc v4.1
38Microsoft Visual C++ v7.1
39Microsoft Visual C++ v8.0
40
41by special noncc files:
42Borland C++ Builder v6.0
43Microsoft Visual C++ v6.0
44Microsoft Visual C++ v7.0
45see also readme.txt files
46
47
48Mostly Supported:
49CodeWarrior 6.0
50
51CodeWarrior has a problem with the Conversion template (see TypeManip.h)
52and, though it compiles it, it doesn't provide correct results.
53Consequently, the DerivedToFront algorithm in Typelist.h does not function.
54This affects the static dispatcher in Multimethods.h. As a fix, you must
55order the types (putting the most derived ones in the front) when providing
56the typelist argument to StaticDispatcher.
57
58
59
60More info:
61
62Andrei's page  : http://erdani.org
63Soureforge page: http://sourceforge.net/projects/loki-lib/
Note: See TracBrowser for help on using the repository browser.