[7266] | 1 | Last update: Novmber 16, 2005 |
---|
| 2 | |
---|
| 3 | Directions: |
---|
| 4 | |
---|
| 5 | To use Loki, simply extract the files from the archive, |
---|
| 6 | give 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 | |
---|
| 18 | If you use the small object allocator directly or indirectly |
---|
| 19 | (through the Functor class) you must add src/SmallObj.cpp to your |
---|
| 20 | project/makefile. |
---|
| 21 | |
---|
| 22 | If you use Singletons with longevity you must add |
---|
| 23 | src/Singleton.cpp to your project/makefile. |
---|
| 24 | |
---|
| 25 | If you use OrderedStatic.h with you must add |
---|
| 26 | src/OrderedSataic.cpp to your project/makefile. |
---|
| 27 | |
---|
| 28 | Or use the library generated by make.msvc.bat, make.mingw.bat, |
---|
| 29 | or make. |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | Compatibility: |
---|
| 33 | |
---|
| 34 | Supported Compilers: |
---|
| 35 | Gcc v3.4 |
---|
| 36 | Gcc v4.0 |
---|
| 37 | Gcc v4.1 |
---|
| 38 | Microsoft Visual C++ v7.1 |
---|
| 39 | Microsoft Visual C++ v8.0 |
---|
| 40 | |
---|
| 41 | by special noncc files: |
---|
| 42 | Borland C++ Builder v6.0 |
---|
| 43 | Microsoft Visual C++ v6.0 |
---|
| 44 | Microsoft Visual C++ v7.0 |
---|
| 45 | see also readme.txt files |
---|
| 46 | |
---|
| 47 | |
---|
| 48 | Mostly Supported: |
---|
| 49 | CodeWarrior 6.0 |
---|
| 50 | |
---|
| 51 | CodeWarrior has a problem with the Conversion template (see TypeManip.h) |
---|
| 52 | and, though it compiles it, it doesn't provide correct results. |
---|
| 53 | Consequently, the DerivedToFront algorithm in Typelist.h does not function. |
---|
| 54 | This affects the static dispatcher in Multimethods.h. As a fix, you must |
---|
| 55 | order the types (putting the most derived ones in the front) when providing |
---|
| 56 | the typelist argument to StaticDispatcher. |
---|
| 57 | |
---|
| 58 | |
---|
| 59 | |
---|
| 60 | More info: |
---|
| 61 | |
---|
| 62 | Andrei's page : http://erdani.org |
---|
| 63 | Soureforge page: http://sourceforge.net/projects/loki-lib/ |
---|