Mirror of the Loki library from Alexandrescu.
Find a file
rani_sharoni de3e4bf67c fix 857415: Calling convention issue with MSVC
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@133 7ec92016-0320-0410-acc4-a06ded1c099a
2003-12-11 16:48:26 +00:00
Borland ThreadingModel used in const member function 2003-12-02 18:52:18 +00:00
MSVC fix 857415: Calling convention issue with MSVC 2003-12-11 16:48:26 +00:00
Reference fix 857415: Calling convention issue with MSVC 2003-12-11 16:48:26 +00:00
tools Fix various issues related to stability when using highly compliant compilers such as Comeau 4.3.0.1, VC7.1 and GCC 3.2 2003-02-27 20:09:08 +00:00
AbstractFactory.h Fix various issues related to stability when using highly compliant compilers such as Comeau 4.3.0.1, VC7.1 and GCC 3.2 2003-02-27 20:09:08 +00:00
AssocVector.h Fix various issues related to stability when using highly compliant compilers such as Comeau 4.3.0.1, VC7.1 and GCC 3.2 2003-02-27 20:09:08 +00:00
DataGenerators.h Fix various issues related to stability when using highly compliant compilers such as Comeau 4.3.0.1, VC7.1 and GCC 3.2 2003-02-27 20:09:08 +00:00
EmptyType.h Fix various issues related to stability when using highly compliant compilers such as Comeau 4.3.0.1, VC7.1 and GCC 3.2 2003-02-27 20:09:08 +00:00
Factory.h Fix various issues related to stability when using highly compliant compilers such as Comeau 4.3.0.1, VC7.1 and GCC 3.2 2003-02-27 20:09:08 +00:00
Functor.h Fix various issues related to stability when using highly compliant compilers such as Comeau 4.3.0.1, VC7.1 and GCC 3.2 2003-02-27 20:09:08 +00:00
HierarchyGenerators.h Fix various issues related to stability when using highly compliant compilers such as Comeau 4.3.0.1, VC7.1 and GCC 3.2 2003-02-27 20:09:08 +00:00
LokiTypeInfo.h fix bug 787388 2003-08-19 10:58:14 +00:00
MultiMethods.h Fix various issues related to stability when using highly compliant compilers such as Comeau 4.3.0.1, VC7.1 and GCC 3.2 2003-02-27 20:09:08 +00:00
NullType.h Fix various issues related to stability when using highly compliant compilers such as Comeau 4.3.0.1, VC7.1 and GCC 3.2 2003-02-27 20:09:08 +00:00
readme.txt no message 2002-08-29 05:34:04 +00:00
Singleton.cpp no message 2002-10-06 03:05:21 +00:00
Singleton.h Fix various issues related to stability when using highly compliant compilers such as Comeau 4.3.0.1, VC7.1 and GCC 3.2 2003-02-27 20:09:08 +00:00
SmallObj.cpp no message 2002-10-06 03:05:21 +00:00
SmallObj.h Fix various issues related to stability when using highly compliant compilers such as Comeau 4.3.0.1, VC7.1 and GCC 3.2 2003-02-27 20:09:08 +00:00
SmartPtr.h Fix various issues related to stability when using highly compliant compilers such as Comeau 4.3.0.1, VC7.1 and GCC 3.2 2003-02-27 20:09:08 +00:00
static_check.h Fix various issues related to stability when using highly compliant compilers such as Comeau 4.3.0.1, VC7.1 and GCC 3.2 2003-02-27 20:09:08 +00:00
Threads.h Fix various issues related to stability when using highly compliant compilers such as Comeau 4.3.0.1, VC7.1 and GCC 3.2 2003-02-27 20:09:08 +00:00
Tuple.h Fix various issues related to stability when using highly compliant compilers such as Comeau 4.3.0.1, VC7.1 and GCC 3.2 2003-02-27 20:09:08 +00:00
Typelist.h Fix various issues related to stability when using highly compliant compilers such as Comeau 4.3.0.1, VC7.1 and GCC 3.2 2003-02-27 20:09:08 +00:00
TypeManip.h Fix various issues related to stability when using highly compliant compilers such as Comeau 4.3.0.1, VC7.1 and GCC 3.2 2003-02-27 20:09:08 +00:00
TypeTraits.h Fix various issues related to stability when using highly compliant compilers such as Comeau 4.3.0.1, VC7.1 and GCC 3.2 2003-02-27 20:09:08 +00:00
Visitor.h Fix various issues related to stability when using highly compliant compilers such as Comeau 4.3.0.1, VC7.1 and GCC 3.2 2003-02-27 20:09:08 +00:00

Last update: Aug 29, 2002

Directions:

To use Loki, simply extract the files from the archive, give your compiler access to their path, and include them appropriately in your code via #include.

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

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


Compatibility:

Supported Compilers:
Gcc v2.95.3
Microsoft Visual C++ v7.0
Borland C++ Builder v6.0

Mostly Supported:
CodeWarrior 6.0

TypeList:
Microsoft Visual C++ v6.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:

http://moderncppdesign.com
http://sourceforge.net/projects/loki-lib/
http://sourceforge.net/projects/loki-exp/