no message

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@41 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
magmaikh 2002-08-24 00:31:37 +00:00
parent b5d2cd3d11
commit 3df4651cd9
22 changed files with 163 additions and 89 deletions

View file

@ -2,6 +2,7 @@
//Generated header: AbstractFactory.h //Generated header: AbstractFactory.h
//Forwards to the appropriate code //Forwards to the appropriate code
// that works on the detected compiler // that works on the detected compiler
//Generated on Thu Aug 22 21:04:30 2002
#ifdef LOKI_USE_REFERENCE #ifdef LOKI_USE_REFERENCE
@ -9,12 +10,14 @@
#else #else
# if (_MSC_VER >= 1300) # if (_MSC_VER >= 1300)
# include ".\MSVC\1300\AbstractFactory.h" # include ".\MSVC\1300\AbstractFactory.h"
#elif (_MSC_VER >= 1200) # elif (_MSC_VER >= 1200)
# include ".\MSVC\1200\AbstractFactory.h" # include ".\MSVC\1200\AbstractFactory.h"
#elif ( (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 1)) ) # elif (__BORLANDC__)
# include ".\Reference\AbstractFactory.h"
#elif (__BORLANDC__)
# include ".\Borland\AbstractFactory.h" # include ".\Borland\AbstractFactory.h"
# elif (__MWERKS__)
# include ".\Reference\AbstractFactory.h"
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
# include ".\Reference\AbstractFactory.h"
# else # else
//Define LOKI_USE_REFERENCE and get back to us on the results //Define LOKI_USE_REFERENCE and get back to us on the results
# error Compiler not tested with Loki, #define LOKI_USE_REFERENCE # error Compiler not tested with Loki, #define LOKI_USE_REFERENCE

View file

@ -2,6 +2,7 @@
//Generated header: AssocVector.h //Generated header: AssocVector.h
//Forwards to the appropriate code //Forwards to the appropriate code
// that works on the detected compiler // that works on the detected compiler
//Generated on Thu Aug 22 21:04:30 2002
#ifdef LOKI_USE_REFERENCE #ifdef LOKI_USE_REFERENCE
@ -9,12 +10,14 @@
#else #else
# if (_MSC_VER >= 1300) # if (_MSC_VER >= 1300)
# include ".\MSVC\1300\AssocVector.h" # include ".\MSVC\1300\AssocVector.h"
#elif (_MSC_VER >= 1200) # elif (_MSC_VER >= 1200)
# include ".\MSVC\1200\AssocVector.h" # include ".\MSVC\1200\AssocVector.h"
#elif ( (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 1)) ) # elif (__BORLANDC__)
# include ".\Reference\AssocVector.h"
#elif (__BORLANDC__)
# include ".\Borland\AssocVector.h" # include ".\Borland\AssocVector.h"
# elif (__MWERKS__)
# include ".\Reference\AssocVector.h"
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
# include ".\Reference\AssocVector.h"
# else # else
//Define LOKI_USE_REFERENCE and get back to us on the results //Define LOKI_USE_REFERENCE and get back to us on the results
# error Compiler not tested with Loki, #define LOKI_USE_REFERENCE # error Compiler not tested with Loki, #define LOKI_USE_REFERENCE

View file

@ -2,6 +2,7 @@
//Generated header: EmptyType.h //Generated header: EmptyType.h
//Forwards to the appropriate code //Forwards to the appropriate code
// that works on the detected compiler // that works on the detected compiler
//Generated on Thu Aug 22 21:04:30 2002
#ifdef LOKI_USE_REFERENCE #ifdef LOKI_USE_REFERENCE
@ -9,12 +10,14 @@
#else #else
# if (_MSC_VER >= 1300) # if (_MSC_VER >= 1300)
# include ".\MSVC\1300\EmptyType.h" # include ".\MSVC\1300\EmptyType.h"
#elif (_MSC_VER >= 1200) # elif (_MSC_VER >= 1200)
# include ".\MSVC\1200\EmptyType.h" # include ".\MSVC\1200\EmptyType.h"
#elif ( (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 1)) ) # elif (__BORLANDC__)
# include ".\Reference\EmptyType.h"
#elif (__BORLANDC__)
# include ".\Borland\EmptyType.h" # include ".\Borland\EmptyType.h"
# elif (__MWERKS__)
# include ".\Reference\EmptyType.h"
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
# include ".\Reference\EmptyType.h"
# else # else
//Define LOKI_USE_REFERENCE and get back to us on the results //Define LOKI_USE_REFERENCE and get back to us on the results
# error Compiler not tested with Loki, #define LOKI_USE_REFERENCE # error Compiler not tested with Loki, #define LOKI_USE_REFERENCE

View file

@ -2,6 +2,7 @@
//Generated header: Factory.h //Generated header: Factory.h
//Forwards to the appropriate code //Forwards to the appropriate code
// that works on the detected compiler // that works on the detected compiler
//Generated on Thu Aug 22 21:04:30 2002
#ifdef LOKI_USE_REFERENCE #ifdef LOKI_USE_REFERENCE
@ -9,12 +10,14 @@
#else #else
# if (_MSC_VER >= 1300) # if (_MSC_VER >= 1300)
# include ".\MSVC\1300\Factory.h" # include ".\MSVC\1300\Factory.h"
#elif (_MSC_VER >= 1200) # elif (_MSC_VER >= 1200)
# include ".\MSVC\1200\Factory.h" # include ".\MSVC\1200\Factory.h"
#elif ( (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 1)) ) # elif (__BORLANDC__)
# include ".\Reference\Factory.h"
#elif (__BORLANDC__)
# include ".\Borland\Factory.h" # include ".\Borland\Factory.h"
# elif (__MWERKS__)
# include ".\Reference\Factory.h"
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
# include ".\Reference\Factory.h"
# else # else
//Define LOKI_USE_REFERENCE and get back to us on the results //Define LOKI_USE_REFERENCE and get back to us on the results
# error Compiler not tested with Loki, #define LOKI_USE_REFERENCE # error Compiler not tested with Loki, #define LOKI_USE_REFERENCE

View file

@ -2,6 +2,7 @@
//Generated header: Functor.h //Generated header: Functor.h
//Forwards to the appropriate code //Forwards to the appropriate code
// that works on the detected compiler // that works on the detected compiler
//Generated on Thu Aug 22 21:04:30 2002
#ifdef LOKI_USE_REFERENCE #ifdef LOKI_USE_REFERENCE
@ -9,12 +10,14 @@
#else #else
# if (_MSC_VER >= 1300) # if (_MSC_VER >= 1300)
# include ".\MSVC\1300\Functor.h" # include ".\MSVC\1300\Functor.h"
#elif (_MSC_VER >= 1200) # elif (_MSC_VER >= 1200)
# include ".\MSVC\1200\Functor.h" # include ".\MSVC\1200\Functor.h"
#elif ( (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 1)) ) # elif (__BORLANDC__)
# include ".\Reference\Functor.h"
#elif (__BORLANDC__)
# include ".\Borland\Functor.h" # include ".\Borland\Functor.h"
# elif (__MWERKS__)
# include ".\Reference\Functor.h"
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
# include ".\Reference\Functor.h"
# else # else
//Define LOKI_USE_REFERENCE and get back to us on the results //Define LOKI_USE_REFERENCE and get back to us on the results
# error Compiler not tested with Loki, #define LOKI_USE_REFERENCE # error Compiler not tested with Loki, #define LOKI_USE_REFERENCE

View file

@ -2,6 +2,7 @@
//Generated header: HierarchyGenerators.h //Generated header: HierarchyGenerators.h
//Forwards to the appropriate code //Forwards to the appropriate code
// that works on the detected compiler // that works on the detected compiler
//Generated on Thu Aug 22 21:04:30 2002
#ifdef LOKI_USE_REFERENCE #ifdef LOKI_USE_REFERENCE
@ -9,12 +10,14 @@
#else #else
# if (_MSC_VER >= 1300) # if (_MSC_VER >= 1300)
# include ".\MSVC\1300\HierarchyGenerators.h" # include ".\MSVC\1300\HierarchyGenerators.h"
#elif (_MSC_VER >= 1200) # elif (_MSC_VER >= 1200)
# include ".\MSVC\1200\HierarchyGenerators.h" # include ".\MSVC\1200\HierarchyGenerators.h"
#elif ( (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 1)) ) # elif (__BORLANDC__)
# include ".\Reference\HierarchyGenerators.h"
#elif (__BORLANDC__)
# include ".\Borland\HierarchyGenerators.h" # include ".\Borland\HierarchyGenerators.h"
# elif (__MWERKS__)
# include ".\Reference\HierarchyGenerators.h"
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
# include ".\Reference\HierarchyGenerators.h"
# else # else
//Define LOKI_USE_REFERENCE and get back to us on the results //Define LOKI_USE_REFERENCE and get back to us on the results
# error Compiler not tested with Loki, #define LOKI_USE_REFERENCE # error Compiler not tested with Loki, #define LOKI_USE_REFERENCE

View file

@ -2,6 +2,7 @@
//Generated header: MultiMethods.h //Generated header: MultiMethods.h
//Forwards to the appropriate code //Forwards to the appropriate code
// that works on the detected compiler // that works on the detected compiler
//Generated on Thu Aug 22 21:04:30 2002
#ifdef LOKI_USE_REFERENCE #ifdef LOKI_USE_REFERENCE
@ -9,12 +10,14 @@
#else #else
# if (_MSC_VER >= 1300) # if (_MSC_VER >= 1300)
# include ".\MSVC\1300\MultiMethods.h" # include ".\MSVC\1300\MultiMethods.h"
#elif (_MSC_VER >= 1200) # elif (_MSC_VER >= 1200)
# include ".\MSVC\1200\MultiMethods.h" # include ".\MSVC\1200\MultiMethods.h"
#elif ( (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 1)) ) # elif (__BORLANDC__)
# include ".\Reference\MultiMethods.h"
#elif (__BORLANDC__)
# include ".\Borland\MultiMethods.h" # include ".\Borland\MultiMethods.h"
# elif (__MWERKS__)
# include ".\Reference\MultiMethods.h"
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
# include ".\Reference\MultiMethods.h"
# else # else
//Define LOKI_USE_REFERENCE and get back to us on the results //Define LOKI_USE_REFERENCE and get back to us on the results
# error Compiler not tested with Loki, #define LOKI_USE_REFERENCE # error Compiler not tested with Loki, #define LOKI_USE_REFERENCE

View file

@ -2,6 +2,7 @@
//Generated header: NullType.h //Generated header: NullType.h
//Forwards to the appropriate code //Forwards to the appropriate code
// that works on the detected compiler // that works on the detected compiler
//Generated on Thu Aug 22 21:04:30 2002
#ifdef LOKI_USE_REFERENCE #ifdef LOKI_USE_REFERENCE
@ -9,12 +10,14 @@
#else #else
# if (_MSC_VER >= 1300) # if (_MSC_VER >= 1300)
# include ".\MSVC\1300\NullType.h" # include ".\MSVC\1300\NullType.h"
#elif (_MSC_VER >= 1200) # elif (_MSC_VER >= 1200)
# include ".\MSVC\1200\NullType.h" # include ".\MSVC\1200\NullType.h"
#elif ( (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 1)) ) # elif (__BORLANDC__)
# include ".\Reference\NullType.h"
#elif (__BORLANDC__)
# include ".\Borland\NullType.h" # include ".\Borland\NullType.h"
# elif (__MWERKS__)
# include ".\Reference\NullType.h"
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
# include ".\Reference\NullType.h"
# else # else
//Define LOKI_USE_REFERENCE and get back to us on the results //Define LOKI_USE_REFERENCE and get back to us on the results
# error Compiler not tested with Loki, #define LOKI_USE_REFERENCE # error Compiler not tested with Loki, #define LOKI_USE_REFERENCE

View file

@ -2,6 +2,7 @@
//Generated header: Singleton.cpp //Generated header: Singleton.cpp
//Forwards to the appropriate code //Forwards to the appropriate code
// that works on the detected compiler // that works on the detected compiler
//Generated on Thu Aug 22 21:04:30 2002
#ifdef LOKI_USE_REFERENCE #ifdef LOKI_USE_REFERENCE
@ -9,12 +10,14 @@
#else #else
# if (_MSC_VER >= 1300) # if (_MSC_VER >= 1300)
# include ".\MSVC\1300\Singleton.cpp" # include ".\MSVC\1300\Singleton.cpp"
#elif (_MSC_VER >= 1200) # elif (_MSC_VER >= 1200)
# include ".\MSVC\1200\Singleton.cpp" # include ".\MSVC\1200\Singleton.cpp"
#elif ( (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 1)) ) # elif (__BORLANDC__)
# include ".\Reference\Singleton.cpp"
#elif (__BORLANDC__)
# include ".\Borland\Singleton.cpp" # include ".\Borland\Singleton.cpp"
# elif (__MWERKS__)
# include ".\Reference\Singleton.cpp"
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
# include ".\Reference\Singleton.cpp"
# else # else
//Define LOKI_USE_REFERENCE and get back to us on the results //Define LOKI_USE_REFERENCE and get back to us on the results
# error Compiler not tested with Loki, #define LOKI_USE_REFERENCE # error Compiler not tested with Loki, #define LOKI_USE_REFERENCE

View file

@ -2,6 +2,7 @@
//Generated header: Singleton.h //Generated header: Singleton.h
//Forwards to the appropriate code //Forwards to the appropriate code
// that works on the detected compiler // that works on the detected compiler
//Generated on Thu Aug 22 21:04:30 2002
#ifdef LOKI_USE_REFERENCE #ifdef LOKI_USE_REFERENCE
@ -9,12 +10,14 @@
#else #else
# if (_MSC_VER >= 1300) # if (_MSC_VER >= 1300)
# include ".\MSVC\1300\Singleton.h" # include ".\MSVC\1300\Singleton.h"
#elif (_MSC_VER >= 1200) # elif (_MSC_VER >= 1200)
# include ".\MSVC\1200\Singleton.h" # include ".\MSVC\1200\Singleton.h"
#elif ( (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 1)) ) # elif (__BORLANDC__)
# include ".\Reference\Singleton.h"
#elif (__BORLANDC__)
# include ".\Borland\Singleton.h" # include ".\Borland\Singleton.h"
# elif (__MWERKS__)
# include ".\Reference\Singleton.h"
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
# include ".\Reference\Singleton.h"
# else # else
//Define LOKI_USE_REFERENCE and get back to us on the results //Define LOKI_USE_REFERENCE and get back to us on the results
# error Compiler not tested with Loki, #define LOKI_USE_REFERENCE # error Compiler not tested with Loki, #define LOKI_USE_REFERENCE

View file

@ -2,6 +2,7 @@
//Generated header: SmallObj.cpp //Generated header: SmallObj.cpp
//Forwards to the appropriate code //Forwards to the appropriate code
// that works on the detected compiler // that works on the detected compiler
//Generated on Thu Aug 22 21:04:30 2002
#ifdef LOKI_USE_REFERENCE #ifdef LOKI_USE_REFERENCE
@ -9,12 +10,14 @@
#else #else
# if (_MSC_VER >= 1300) # if (_MSC_VER >= 1300)
# include ".\MSVC\1300\SmallObj.cpp" # include ".\MSVC\1300\SmallObj.cpp"
#elif (_MSC_VER >= 1200) # elif (_MSC_VER >= 1200)
# include ".\MSVC\1200\SmallObj.cpp" # include ".\MSVC\1200\SmallObj.cpp"
#elif ( (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 1)) ) # elif (__BORLANDC__)
# include ".\Reference\SmallObj.cpp"
#elif (__BORLANDC__)
# include ".\Borland\SmallObj.cpp" # include ".\Borland\SmallObj.cpp"
# elif (__MWERKS__)
# include ".\Reference\SmallObj.cpp"
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
# include ".\Reference\SmallObj.cpp"
# else # else
//Define LOKI_USE_REFERENCE and get back to us on the results //Define LOKI_USE_REFERENCE and get back to us on the results
# error Compiler not tested with Loki, #define LOKI_USE_REFERENCE # error Compiler not tested with Loki, #define LOKI_USE_REFERENCE

View file

@ -2,6 +2,7 @@
//Generated header: SmallObj.h //Generated header: SmallObj.h
//Forwards to the appropriate code //Forwards to the appropriate code
// that works on the detected compiler // that works on the detected compiler
//Generated on Thu Aug 22 21:04:30 2002
#ifdef LOKI_USE_REFERENCE #ifdef LOKI_USE_REFERENCE
@ -9,12 +10,14 @@
#else #else
# if (_MSC_VER >= 1300) # if (_MSC_VER >= 1300)
# include ".\MSVC\1300\SmallObj.h" # include ".\MSVC\1300\SmallObj.h"
#elif (_MSC_VER >= 1200) # elif (_MSC_VER >= 1200)
# include ".\MSVC\1200\SmallObj.h" # include ".\MSVC\1200\SmallObj.h"
#elif ( (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 1)) ) # elif (__BORLANDC__)
# include ".\Reference\SmallObj.h"
#elif (__BORLANDC__)
# include ".\Borland\SmallObj.h" # include ".\Borland\SmallObj.h"
# elif (__MWERKS__)
# include ".\Reference\SmallObj.h"
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
# include ".\Reference\SmallObj.h"
# else # else
//Define LOKI_USE_REFERENCE and get back to us on the results //Define LOKI_USE_REFERENCE and get back to us on the results
# error Compiler not tested with Loki, #define LOKI_USE_REFERENCE # error Compiler not tested with Loki, #define LOKI_USE_REFERENCE

View file

@ -2,6 +2,7 @@
//Generated header: SmartPtr.h //Generated header: SmartPtr.h
//Forwards to the appropriate code //Forwards to the appropriate code
// that works on the detected compiler // that works on the detected compiler
//Generated on Thu Aug 22 21:04:30 2002
#ifdef LOKI_USE_REFERENCE #ifdef LOKI_USE_REFERENCE
@ -9,12 +10,14 @@
#else #else
# if (_MSC_VER >= 1300) # if (_MSC_VER >= 1300)
# include ".\MSVC\1300\SmartPtr.h" # include ".\MSVC\1300\SmartPtr.h"
#elif (_MSC_VER >= 1200) # elif (_MSC_VER >= 1200)
# include ".\MSVC\1200\SmartPtr.h" # include ".\MSVC\1200\SmartPtr.h"
#elif ( (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 1)) ) # elif (__BORLANDC__)
# include ".\Reference\SmartPtr.h"
#elif (__BORLANDC__)
# include ".\Borland\SmartPtr.h" # include ".\Borland\SmartPtr.h"
# elif (__MWERKS__)
# include ".\Reference\SmartPtr.h"
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
# include ".\Reference\SmartPtr.h"
# else # else
//Define LOKI_USE_REFERENCE and get back to us on the results //Define LOKI_USE_REFERENCE and get back to us on the results
# error Compiler not tested with Loki, #define LOKI_USE_REFERENCE # error Compiler not tested with Loki, #define LOKI_USE_REFERENCE

View file

@ -2,6 +2,7 @@
//Generated header: Threads.h //Generated header: Threads.h
//Forwards to the appropriate code //Forwards to the appropriate code
// that works on the detected compiler // that works on the detected compiler
//Generated on Thu Aug 22 21:04:30 2002
#ifdef LOKI_USE_REFERENCE #ifdef LOKI_USE_REFERENCE
@ -9,12 +10,14 @@
#else #else
# if (_MSC_VER >= 1300) # if (_MSC_VER >= 1300)
# include ".\MSVC\1300\Threads.h" # include ".\MSVC\1300\Threads.h"
#elif (_MSC_VER >= 1200) # elif (_MSC_VER >= 1200)
# include ".\MSVC\1200\Threads.h" # include ".\MSVC\1200\Threads.h"
#elif ( (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 1)) ) # elif (__BORLANDC__)
# include ".\Reference\Threads.h"
#elif (__BORLANDC__)
# include ".\Borland\Threads.h" # include ".\Borland\Threads.h"
# elif (__MWERKS__)
# include ".\Reference\Threads.h"
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
# include ".\Reference\Threads.h"
# else # else
//Define LOKI_USE_REFERENCE and get back to us on the results //Define LOKI_USE_REFERENCE and get back to us on the results
# error Compiler not tested with Loki, #define LOKI_USE_REFERENCE # error Compiler not tested with Loki, #define LOKI_USE_REFERENCE

11
Tuple.h
View file

@ -2,6 +2,7 @@
//Generated header: Tuple.h //Generated header: Tuple.h
//Forwards to the appropriate code //Forwards to the appropriate code
// that works on the detected compiler // that works on the detected compiler
//Generated on Thu Aug 22 21:04:30 2002
#ifdef LOKI_USE_REFERENCE #ifdef LOKI_USE_REFERENCE
@ -9,12 +10,14 @@
#else #else
# if (_MSC_VER >= 1300) # if (_MSC_VER >= 1300)
# include ".\MSVC\1300\Tuple.h" # include ".\MSVC\1300\Tuple.h"
#elif (_MSC_VER >= 1200) # elif (_MSC_VER >= 1200)
# include ".\MSVC\1200\Tuple.h" # include ".\MSVC\1200\Tuple.h"
#elif ( (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 1)) ) # elif (__BORLANDC__)
# include ".\Reference\Tuple.h"
#elif (__BORLANDC__)
# include ".\Borland\Tuple.h" # include ".\Borland\Tuple.h"
# elif (__MWERKS__)
# include ".\Reference\Tuple.h"
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
# include ".\Reference\Tuple.h"
# else # else
//Define LOKI_USE_REFERENCE and get back to us on the results //Define LOKI_USE_REFERENCE and get back to us on the results
# error Compiler not tested with Loki, #define LOKI_USE_REFERENCE # error Compiler not tested with Loki, #define LOKI_USE_REFERENCE

View file

@ -2,6 +2,7 @@
//Generated header: TypeInfo.h //Generated header: TypeInfo.h
//Forwards to the appropriate code //Forwards to the appropriate code
// that works on the detected compiler // that works on the detected compiler
//Generated on Thu Aug 22 21:04:30 2002
#ifdef LOKI_USE_REFERENCE #ifdef LOKI_USE_REFERENCE
@ -9,12 +10,14 @@
#else #else
# if (_MSC_VER >= 1300) # if (_MSC_VER >= 1300)
# include ".\MSVC\1300\TypeInfo.h" # include ".\MSVC\1300\TypeInfo.h"
#elif (_MSC_VER >= 1200) # elif (_MSC_VER >= 1200)
# include ".\MSVC\1200\TypeInfo.h" # include ".\MSVC\1200\TypeInfo.h"
#elif ( (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 1)) ) # elif (__BORLANDC__)
# include ".\Reference\TypeInfo.h"
#elif (__BORLANDC__)
# include ".\Borland\TypeInfo.h" # include ".\Borland\TypeInfo.h"
# elif (__MWERKS__)
# include ".\Reference\TypeInfo.h"
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
# include ".\Reference\TypeInfo.h"
# else # else
//Define LOKI_USE_REFERENCE and get back to us on the results //Define LOKI_USE_REFERENCE and get back to us on the results
# error Compiler not tested with Loki, #define LOKI_USE_REFERENCE # error Compiler not tested with Loki, #define LOKI_USE_REFERENCE

View file

@ -2,6 +2,7 @@
//Generated header: TypeManip.h //Generated header: TypeManip.h
//Forwards to the appropriate code //Forwards to the appropriate code
// that works on the detected compiler // that works on the detected compiler
//Generated on Thu Aug 22 21:04:30 2002
#ifdef LOKI_USE_REFERENCE #ifdef LOKI_USE_REFERENCE
@ -9,12 +10,14 @@
#else #else
# if (_MSC_VER >= 1300) # if (_MSC_VER >= 1300)
# include ".\MSVC\1300\TypeManip.h" # include ".\MSVC\1300\TypeManip.h"
#elif (_MSC_VER >= 1200) # elif (_MSC_VER >= 1200)
# include ".\MSVC\1200\TypeManip.h" # include ".\MSVC\1200\TypeManip.h"
#elif ( (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 1)) ) # elif (__BORLANDC__)
# include ".\Reference\TypeManip.h"
#elif (__BORLANDC__)
# include ".\Borland\TypeManip.h" # include ".\Borland\TypeManip.h"
# elif (__MWERKS__)
# include ".\Reference\TypeManip.h"
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
# include ".\Reference\TypeManip.h"
# else # else
//Define LOKI_USE_REFERENCE and get back to us on the results //Define LOKI_USE_REFERENCE and get back to us on the results
# error Compiler not tested with Loki, #define LOKI_USE_REFERENCE # error Compiler not tested with Loki, #define LOKI_USE_REFERENCE

View file

@ -2,6 +2,7 @@
//Generated header: TypeTraits.h //Generated header: TypeTraits.h
//Forwards to the appropriate code //Forwards to the appropriate code
// that works on the detected compiler // that works on the detected compiler
//Generated on Thu Aug 22 21:04:30 2002
#ifdef LOKI_USE_REFERENCE #ifdef LOKI_USE_REFERENCE
@ -9,12 +10,14 @@
#else #else
# if (_MSC_VER >= 1300) # if (_MSC_VER >= 1300)
# include ".\MSVC\1300\TypeTraits.h" # include ".\MSVC\1300\TypeTraits.h"
#elif (_MSC_VER >= 1200) # elif (_MSC_VER >= 1200)
# include ".\MSVC\1200\TypeTraits.h" # include ".\MSVC\1200\TypeTraits.h"
#elif ( (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 1)) ) # elif (__BORLANDC__)
# include ".\Reference\TypeTraits.h"
#elif (__BORLANDC__)
# include ".\Borland\TypeTraits.h" # include ".\Borland\TypeTraits.h"
# elif (__MWERKS__)
# include ".\Reference\TypeTraits.h"
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
# include ".\Reference\TypeTraits.h"
# else # else
//Define LOKI_USE_REFERENCE and get back to us on the results //Define LOKI_USE_REFERENCE and get back to us on the results
# error Compiler not tested with Loki, #define LOKI_USE_REFERENCE # error Compiler not tested with Loki, #define LOKI_USE_REFERENCE

View file

@ -2,6 +2,7 @@
//Generated header: Typelist.h //Generated header: Typelist.h
//Forwards to the appropriate code //Forwards to the appropriate code
// that works on the detected compiler // that works on the detected compiler
//Generated on Thu Aug 22 21:04:30 2002
#ifdef LOKI_USE_REFERENCE #ifdef LOKI_USE_REFERENCE
@ -9,12 +10,14 @@
#else #else
# if (_MSC_VER >= 1300) # if (_MSC_VER >= 1300)
# include ".\MSVC\1300\Typelist.h" # include ".\MSVC\1300\Typelist.h"
#elif (_MSC_VER >= 1200) # elif (_MSC_VER >= 1200)
# include ".\MSVC\1200\Typelist.h" # include ".\MSVC\1200\Typelist.h"
#elif ( (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 1)) ) # elif (__BORLANDC__)
# include ".\Reference\Typelist.h"
#elif (__BORLANDC__)
# include ".\Borland\Typelist.h" # include ".\Borland\Typelist.h"
# elif (__MWERKS__)
# include ".\Reference\Typelist.h"
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
# include ".\Reference\Typelist.h"
# else # else
//Define LOKI_USE_REFERENCE and get back to us on the results //Define LOKI_USE_REFERENCE and get back to us on the results
# error Compiler not tested with Loki, #define LOKI_USE_REFERENCE # error Compiler not tested with Loki, #define LOKI_USE_REFERENCE

View file

@ -2,6 +2,7 @@
//Generated header: Visitor.h //Generated header: Visitor.h
//Forwards to the appropriate code //Forwards to the appropriate code
// that works on the detected compiler // that works on the detected compiler
//Generated on Thu Aug 22 21:04:30 2002
#ifdef LOKI_USE_REFERENCE #ifdef LOKI_USE_REFERENCE
@ -9,12 +10,14 @@
#else #else
# if (_MSC_VER >= 1300) # if (_MSC_VER >= 1300)
# include ".\MSVC\1300\Visitor.h" # include ".\MSVC\1300\Visitor.h"
#elif (_MSC_VER >= 1200) # elif (_MSC_VER >= 1200)
# include ".\MSVC\1200\Visitor.h" # include ".\MSVC\1200\Visitor.h"
#elif ( (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 1)) ) # elif (__BORLANDC__)
# include ".\Reference\Visitor.h"
#elif (__BORLANDC__)
# include ".\Borland\Visitor.h" # include ".\Borland\Visitor.h"
# elif (__MWERKS__)
# include ".\Reference\Visitor.h"
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
# include ".\Reference\Visitor.h"
# else # else
//Define LOKI_USE_REFERENCE and get back to us on the results //Define LOKI_USE_REFERENCE and get back to us on the results
# error Compiler not tested with Loki, #define LOKI_USE_REFERENCE # error Compiler not tested with Loki, #define LOKI_USE_REFERENCE

View file

@ -1,4 +1,4 @@
Last update: Aug 14, 2002 Last update: Aug 22, 2002
Directions: Directions:
@ -8,18 +8,29 @@ If you use the small object allocator directly or indirectly (through the Functo
If you use Singletons with longevity you must add Singleton.cpp to your project/makefile. If you use Singletons with longevity you must add Singleton.cpp to your project/makefile.
Compatibility: Compatibility:
Loki has been tested with Metrowerks CodeWarrior Pro 6 under Windows. 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. Supported Compilers:
Gcc v2.95.3
Microsoft Visual C++ v7.0
Borland C++ Builder v5.6
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.
Also, Loki has been ported to gcc 2.95.3 and to MSVC7.
A port to Borland C++ BUilder is in progress.
Typelist have been ported to MSVC6.
More info: More info:
http://moderncppdesign.com http://moderncppdesign.com
http://sourceforge.net/projects/loki-lib/ http://sourceforge.net/projects/loki-lib/
http://sourceforge.net/projects/loki-exp/

View file

@ -2,6 +2,7 @@
//Generated header: static_check.h //Generated header: static_check.h
//Forwards to the appropriate code //Forwards to the appropriate code
// that works on the detected compiler // that works on the detected compiler
//Generated on Thu Aug 22 21:04:30 2002
#ifdef LOKI_USE_REFERENCE #ifdef LOKI_USE_REFERENCE
@ -9,12 +10,14 @@
#else #else
# if (_MSC_VER >= 1300) # if (_MSC_VER >= 1300)
# include ".\MSVC\1300\static_check.h" # include ".\MSVC\1300\static_check.h"
#elif (_MSC_VER >= 1200) # elif (_MSC_VER >= 1200)
# include ".\MSVC\1200\static_check.h" # include ".\MSVC\1200\static_check.h"
#elif ( (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 1)) ) # elif (__BORLANDC__)
# include ".\Reference\static_check.h"
#elif (__BORLANDC__)
# include ".\Borland\static_check.h" # include ".\Borland\static_check.h"
# elif (__MWERKS__)
# include ".\Reference\static_check.h"
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
# include ".\Reference\static_check.h"
# else # else
//Define LOKI_USE_REFERENCE and get back to us on the results //Define LOKI_USE_REFERENCE and get back to us on the results
# error Compiler not tested with Loki, #define LOKI_USE_REFERENCE # error Compiler not tested with Loki, #define LOKI_USE_REFERENCE