From 3df4651cd970fe2f9301a29a1d2a3a760cbbd713 Mon Sep 17 00:00:00 2001 From: magmaikh Date: Sat, 24 Aug 2002 00:31:37 +0000 Subject: [PATCH] no message git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@41 7ec92016-0320-0410-acc4-a06ded1c099a --- AbstractFactory.h | 11 +++++++---- AssocVector.h | 11 +++++++---- EmptyType.h | 11 +++++++---- Factory.h | 11 +++++++---- Functor.h | 11 +++++++---- HierarchyGenerators.h | 11 +++++++---- MultiMethods.h | 11 +++++++---- NullType.h | 11 +++++++---- Singleton.cpp | 11 +++++++---- Singleton.h | 11 +++++++---- SmallObj.cpp | 11 +++++++---- SmallObj.h | 11 +++++++---- SmartPtr.h | 11 +++++++---- Threads.h | 11 +++++++---- Tuple.h | 11 +++++++---- TypeInfo.h | 11 +++++++---- TypeManip.h | 11 +++++++---- TypeTraits.h | 11 +++++++---- Typelist.h | 11 +++++++---- Visitor.h | 11 +++++++---- readme.txt | 21 ++++++++++++++++----- static_check.h | 11 +++++++---- 22 files changed, 163 insertions(+), 89 deletions(-) diff --git a/AbstractFactory.h b/AbstractFactory.h index 4a0644b..2d543a4 100644 --- a/AbstractFactory.h +++ b/AbstractFactory.h @@ -2,6 +2,7 @@ //Generated header: AbstractFactory.h //Forwards to the appropriate code // that works on the detected compiler +//Generated on Thu Aug 22 21:04:30 2002 #ifdef LOKI_USE_REFERENCE @@ -9,12 +10,14 @@ #else # if (_MSC_VER >= 1300) # include ".\MSVC\1300\AbstractFactory.h" -#elif (_MSC_VER >= 1200) +# elif (_MSC_VER >= 1200) # include ".\MSVC\1200\AbstractFactory.h" -#elif ( (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 1)) ) -# include ".\Reference\AbstractFactory.h" -#elif (__BORLANDC__) +# elif (__BORLANDC__) # include ".\Borland\AbstractFactory.h" +# elif (__MWERKS__) +# include ".\Reference\AbstractFactory.h" +# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) ) +# include ".\Reference\AbstractFactory.h" # else //Define LOKI_USE_REFERENCE and get back to us on the results # error Compiler not tested with Loki, #define LOKI_USE_REFERENCE diff --git a/AssocVector.h b/AssocVector.h index 0dc51c5..85c97b3 100644 --- a/AssocVector.h +++ b/AssocVector.h @@ -2,6 +2,7 @@ //Generated header: AssocVector.h //Forwards to the appropriate code // that works on the detected compiler +//Generated on Thu Aug 22 21:04:30 2002 #ifdef LOKI_USE_REFERENCE @@ -9,12 +10,14 @@ #else # if (_MSC_VER >= 1300) # include ".\MSVC\1300\AssocVector.h" -#elif (_MSC_VER >= 1200) +# elif (_MSC_VER >= 1200) # include ".\MSVC\1200\AssocVector.h" -#elif ( (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 1)) ) -# include ".\Reference\AssocVector.h" -#elif (__BORLANDC__) +# elif (__BORLANDC__) # include ".\Borland\AssocVector.h" +# elif (__MWERKS__) +# include ".\Reference\AssocVector.h" +# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) ) +# include ".\Reference\AssocVector.h" # else //Define LOKI_USE_REFERENCE and get back to us on the results # error Compiler not tested with Loki, #define LOKI_USE_REFERENCE diff --git a/EmptyType.h b/EmptyType.h index dfc21f6..0b8e9dc 100644 --- a/EmptyType.h +++ b/EmptyType.h @@ -2,6 +2,7 @@ //Generated header: EmptyType.h //Forwards to the appropriate code // that works on the detected compiler +//Generated on Thu Aug 22 21:04:30 2002 #ifdef LOKI_USE_REFERENCE @@ -9,12 +10,14 @@ #else # if (_MSC_VER >= 1300) # include ".\MSVC\1300\EmptyType.h" -#elif (_MSC_VER >= 1200) +# elif (_MSC_VER >= 1200) # include ".\MSVC\1200\EmptyType.h" -#elif ( (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 1)) ) -# include ".\Reference\EmptyType.h" -#elif (__BORLANDC__) +# elif (__BORLANDC__) # include ".\Borland\EmptyType.h" +# elif (__MWERKS__) +# include ".\Reference\EmptyType.h" +# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) ) +# include ".\Reference\EmptyType.h" # else //Define LOKI_USE_REFERENCE and get back to us on the results # error Compiler not tested with Loki, #define LOKI_USE_REFERENCE diff --git a/Factory.h b/Factory.h index c1bd4ca..2fa75c2 100644 --- a/Factory.h +++ b/Factory.h @@ -2,6 +2,7 @@ //Generated header: Factory.h //Forwards to the appropriate code // that works on the detected compiler +//Generated on Thu Aug 22 21:04:30 2002 #ifdef LOKI_USE_REFERENCE @@ -9,12 +10,14 @@ #else # if (_MSC_VER >= 1300) # include ".\MSVC\1300\Factory.h" -#elif (_MSC_VER >= 1200) +# elif (_MSC_VER >= 1200) # include ".\MSVC\1200\Factory.h" -#elif ( (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 1)) ) -# include ".\Reference\Factory.h" -#elif (__BORLANDC__) +# elif (__BORLANDC__) # include ".\Borland\Factory.h" +# elif (__MWERKS__) +# include ".\Reference\Factory.h" +# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) ) +# include ".\Reference\Factory.h" # else //Define LOKI_USE_REFERENCE and get back to us on the results # error Compiler not tested with Loki, #define LOKI_USE_REFERENCE diff --git a/Functor.h b/Functor.h index a91ea17..98b338f 100644 --- a/Functor.h +++ b/Functor.h @@ -2,6 +2,7 @@ //Generated header: Functor.h //Forwards to the appropriate code // that works on the detected compiler +//Generated on Thu Aug 22 21:04:30 2002 #ifdef LOKI_USE_REFERENCE @@ -9,12 +10,14 @@ #else # if (_MSC_VER >= 1300) # include ".\MSVC\1300\Functor.h" -#elif (_MSC_VER >= 1200) +# elif (_MSC_VER >= 1200) # include ".\MSVC\1200\Functor.h" -#elif ( (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 1)) ) -# include ".\Reference\Functor.h" -#elif (__BORLANDC__) +# elif (__BORLANDC__) # include ".\Borland\Functor.h" +# elif (__MWERKS__) +# include ".\Reference\Functor.h" +# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) ) +# include ".\Reference\Functor.h" # else //Define LOKI_USE_REFERENCE and get back to us on the results # error Compiler not tested with Loki, #define LOKI_USE_REFERENCE diff --git a/HierarchyGenerators.h b/HierarchyGenerators.h index 32ee788..478bc9b 100644 --- a/HierarchyGenerators.h +++ b/HierarchyGenerators.h @@ -2,6 +2,7 @@ //Generated header: HierarchyGenerators.h //Forwards to the appropriate code // that works on the detected compiler +//Generated on Thu Aug 22 21:04:30 2002 #ifdef LOKI_USE_REFERENCE @@ -9,12 +10,14 @@ #else # if (_MSC_VER >= 1300) # include ".\MSVC\1300\HierarchyGenerators.h" -#elif (_MSC_VER >= 1200) +# elif (_MSC_VER >= 1200) # include ".\MSVC\1200\HierarchyGenerators.h" -#elif ( (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 1)) ) -# include ".\Reference\HierarchyGenerators.h" -#elif (__BORLANDC__) +# elif (__BORLANDC__) # include ".\Borland\HierarchyGenerators.h" +# elif (__MWERKS__) +# include ".\Reference\HierarchyGenerators.h" +# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) ) +# include ".\Reference\HierarchyGenerators.h" # else //Define LOKI_USE_REFERENCE and get back to us on the results # error Compiler not tested with Loki, #define LOKI_USE_REFERENCE diff --git a/MultiMethods.h b/MultiMethods.h index ee37dce..297da04 100644 --- a/MultiMethods.h +++ b/MultiMethods.h @@ -2,6 +2,7 @@ //Generated header: MultiMethods.h //Forwards to the appropriate code // that works on the detected compiler +//Generated on Thu Aug 22 21:04:30 2002 #ifdef LOKI_USE_REFERENCE @@ -9,12 +10,14 @@ #else # if (_MSC_VER >= 1300) # include ".\MSVC\1300\MultiMethods.h" -#elif (_MSC_VER >= 1200) +# elif (_MSC_VER >= 1200) # include ".\MSVC\1200\MultiMethods.h" -#elif ( (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 1)) ) -# include ".\Reference\MultiMethods.h" -#elif (__BORLANDC__) +# elif (__BORLANDC__) # include ".\Borland\MultiMethods.h" +# elif (__MWERKS__) +# include ".\Reference\MultiMethods.h" +# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) ) +# include ".\Reference\MultiMethods.h" # else //Define LOKI_USE_REFERENCE and get back to us on the results # error Compiler not tested with Loki, #define LOKI_USE_REFERENCE diff --git a/NullType.h b/NullType.h index a9ae1ab..e54a1c6 100644 --- a/NullType.h +++ b/NullType.h @@ -2,6 +2,7 @@ //Generated header: NullType.h //Forwards to the appropriate code // that works on the detected compiler +//Generated on Thu Aug 22 21:04:30 2002 #ifdef LOKI_USE_REFERENCE @@ -9,12 +10,14 @@ #else # if (_MSC_VER >= 1300) # include ".\MSVC\1300\NullType.h" -#elif (_MSC_VER >= 1200) +# elif (_MSC_VER >= 1200) # include ".\MSVC\1200\NullType.h" -#elif ( (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 1)) ) -# include ".\Reference\NullType.h" -#elif (__BORLANDC__) +# elif (__BORLANDC__) # include ".\Borland\NullType.h" +# elif (__MWERKS__) +# include ".\Reference\NullType.h" +# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) ) +# include ".\Reference\NullType.h" # else //Define LOKI_USE_REFERENCE and get back to us on the results # error Compiler not tested with Loki, #define LOKI_USE_REFERENCE diff --git a/Singleton.cpp b/Singleton.cpp index 15a530d..5fbab33 100644 --- a/Singleton.cpp +++ b/Singleton.cpp @@ -2,6 +2,7 @@ //Generated header: Singleton.cpp //Forwards to the appropriate code // that works on the detected compiler +//Generated on Thu Aug 22 21:04:30 2002 #ifdef LOKI_USE_REFERENCE @@ -9,12 +10,14 @@ #else # if (_MSC_VER >= 1300) # include ".\MSVC\1300\Singleton.cpp" -#elif (_MSC_VER >= 1200) +# elif (_MSC_VER >= 1200) # include ".\MSVC\1200\Singleton.cpp" -#elif ( (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 1)) ) -# include ".\Reference\Singleton.cpp" -#elif (__BORLANDC__) +# elif (__BORLANDC__) # include ".\Borland\Singleton.cpp" +# elif (__MWERKS__) +# include ".\Reference\Singleton.cpp" +# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) ) +# include ".\Reference\Singleton.cpp" # else //Define LOKI_USE_REFERENCE and get back to us on the results # error Compiler not tested with Loki, #define LOKI_USE_REFERENCE diff --git a/Singleton.h b/Singleton.h index 5ace6c5..b16f45e 100644 --- a/Singleton.h +++ b/Singleton.h @@ -2,6 +2,7 @@ //Generated header: Singleton.h //Forwards to the appropriate code // that works on the detected compiler +//Generated on Thu Aug 22 21:04:30 2002 #ifdef LOKI_USE_REFERENCE @@ -9,12 +10,14 @@ #else # if (_MSC_VER >= 1300) # include ".\MSVC\1300\Singleton.h" -#elif (_MSC_VER >= 1200) +# elif (_MSC_VER >= 1200) # include ".\MSVC\1200\Singleton.h" -#elif ( (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 1)) ) -# include ".\Reference\Singleton.h" -#elif (__BORLANDC__) +# elif (__BORLANDC__) # include ".\Borland\Singleton.h" +# elif (__MWERKS__) +# include ".\Reference\Singleton.h" +# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) ) +# include ".\Reference\Singleton.h" # else //Define LOKI_USE_REFERENCE and get back to us on the results # error Compiler not tested with Loki, #define LOKI_USE_REFERENCE diff --git a/SmallObj.cpp b/SmallObj.cpp index 8d906cf..de1b5c8 100644 --- a/SmallObj.cpp +++ b/SmallObj.cpp @@ -2,6 +2,7 @@ //Generated header: SmallObj.cpp //Forwards to the appropriate code // that works on the detected compiler +//Generated on Thu Aug 22 21:04:30 2002 #ifdef LOKI_USE_REFERENCE @@ -9,12 +10,14 @@ #else # if (_MSC_VER >= 1300) # include ".\MSVC\1300\SmallObj.cpp" -#elif (_MSC_VER >= 1200) +# elif (_MSC_VER >= 1200) # include ".\MSVC\1200\SmallObj.cpp" -#elif ( (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 1)) ) -# include ".\Reference\SmallObj.cpp" -#elif (__BORLANDC__) +# elif (__BORLANDC__) # include ".\Borland\SmallObj.cpp" +# elif (__MWERKS__) +# include ".\Reference\SmallObj.cpp" +# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) ) +# include ".\Reference\SmallObj.cpp" # else //Define LOKI_USE_REFERENCE and get back to us on the results # error Compiler not tested with Loki, #define LOKI_USE_REFERENCE diff --git a/SmallObj.h b/SmallObj.h index c21d90b..a732275 100644 --- a/SmallObj.h +++ b/SmallObj.h @@ -2,6 +2,7 @@ //Generated header: SmallObj.h //Forwards to the appropriate code // that works on the detected compiler +//Generated on Thu Aug 22 21:04:30 2002 #ifdef LOKI_USE_REFERENCE @@ -9,12 +10,14 @@ #else # if (_MSC_VER >= 1300) # include ".\MSVC\1300\SmallObj.h" -#elif (_MSC_VER >= 1200) +# elif (_MSC_VER >= 1200) # include ".\MSVC\1200\SmallObj.h" -#elif ( (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 1)) ) -# include ".\Reference\SmallObj.h" -#elif (__BORLANDC__) +# elif (__BORLANDC__) # include ".\Borland\SmallObj.h" +# elif (__MWERKS__) +# include ".\Reference\SmallObj.h" +# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) ) +# include ".\Reference\SmallObj.h" # else //Define LOKI_USE_REFERENCE and get back to us on the results # error Compiler not tested with Loki, #define LOKI_USE_REFERENCE diff --git a/SmartPtr.h b/SmartPtr.h index e717aa4..c25fcba 100644 --- a/SmartPtr.h +++ b/SmartPtr.h @@ -2,6 +2,7 @@ //Generated header: SmartPtr.h //Forwards to the appropriate code // that works on the detected compiler +//Generated on Thu Aug 22 21:04:30 2002 #ifdef LOKI_USE_REFERENCE @@ -9,12 +10,14 @@ #else # if (_MSC_VER >= 1300) # include ".\MSVC\1300\SmartPtr.h" -#elif (_MSC_VER >= 1200) +# elif (_MSC_VER >= 1200) # include ".\MSVC\1200\SmartPtr.h" -#elif ( (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 1)) ) -# include ".\Reference\SmartPtr.h" -#elif (__BORLANDC__) +# elif (__BORLANDC__) # include ".\Borland\SmartPtr.h" +# elif (__MWERKS__) +# include ".\Reference\SmartPtr.h" +# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) ) +# include ".\Reference\SmartPtr.h" # else //Define LOKI_USE_REFERENCE and get back to us on the results # error Compiler not tested with Loki, #define LOKI_USE_REFERENCE diff --git a/Threads.h b/Threads.h index 5fff44f..aa5a62e 100644 --- a/Threads.h +++ b/Threads.h @@ -2,6 +2,7 @@ //Generated header: Threads.h //Forwards to the appropriate code // that works on the detected compiler +//Generated on Thu Aug 22 21:04:30 2002 #ifdef LOKI_USE_REFERENCE @@ -9,12 +10,14 @@ #else # if (_MSC_VER >= 1300) # include ".\MSVC\1300\Threads.h" -#elif (_MSC_VER >= 1200) +# elif (_MSC_VER >= 1200) # include ".\MSVC\1200\Threads.h" -#elif ( (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 1)) ) -# include ".\Reference\Threads.h" -#elif (__BORLANDC__) +# elif (__BORLANDC__) # include ".\Borland\Threads.h" +# elif (__MWERKS__) +# include ".\Reference\Threads.h" +# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) ) +# include ".\Reference\Threads.h" # else //Define LOKI_USE_REFERENCE and get back to us on the results # error Compiler not tested with Loki, #define LOKI_USE_REFERENCE diff --git a/Tuple.h b/Tuple.h index 9c629f2..a86fa90 100644 --- a/Tuple.h +++ b/Tuple.h @@ -2,6 +2,7 @@ //Generated header: Tuple.h //Forwards to the appropriate code // that works on the detected compiler +//Generated on Thu Aug 22 21:04:30 2002 #ifdef LOKI_USE_REFERENCE @@ -9,12 +10,14 @@ #else # if (_MSC_VER >= 1300) # include ".\MSVC\1300\Tuple.h" -#elif (_MSC_VER >= 1200) +# elif (_MSC_VER >= 1200) # include ".\MSVC\1200\Tuple.h" -#elif ( (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 1)) ) -# include ".\Reference\Tuple.h" -#elif (__BORLANDC__) +# elif (__BORLANDC__) # include ".\Borland\Tuple.h" +# elif (__MWERKS__) +# include ".\Reference\Tuple.h" +# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) ) +# include ".\Reference\Tuple.h" # else //Define LOKI_USE_REFERENCE and get back to us on the results # error Compiler not tested with Loki, #define LOKI_USE_REFERENCE diff --git a/TypeInfo.h b/TypeInfo.h index 3f27100..f3cfdcd 100644 --- a/TypeInfo.h +++ b/TypeInfo.h @@ -2,6 +2,7 @@ //Generated header: TypeInfo.h //Forwards to the appropriate code // that works on the detected compiler +//Generated on Thu Aug 22 21:04:30 2002 #ifdef LOKI_USE_REFERENCE @@ -9,12 +10,14 @@ #else # if (_MSC_VER >= 1300) # include ".\MSVC\1300\TypeInfo.h" -#elif (_MSC_VER >= 1200) +# elif (_MSC_VER >= 1200) # include ".\MSVC\1200\TypeInfo.h" -#elif ( (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 1)) ) -# include ".\Reference\TypeInfo.h" -#elif (__BORLANDC__) +# elif (__BORLANDC__) # include ".\Borland\TypeInfo.h" +# elif (__MWERKS__) +# include ".\Reference\TypeInfo.h" +# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) ) +# include ".\Reference\TypeInfo.h" # else //Define LOKI_USE_REFERENCE and get back to us on the results # error Compiler not tested with Loki, #define LOKI_USE_REFERENCE diff --git a/TypeManip.h b/TypeManip.h index f930546..59aec5e 100644 --- a/TypeManip.h +++ b/TypeManip.h @@ -2,6 +2,7 @@ //Generated header: TypeManip.h //Forwards to the appropriate code // that works on the detected compiler +//Generated on Thu Aug 22 21:04:30 2002 #ifdef LOKI_USE_REFERENCE @@ -9,12 +10,14 @@ #else # if (_MSC_VER >= 1300) # include ".\MSVC\1300\TypeManip.h" -#elif (_MSC_VER >= 1200) +# elif (_MSC_VER >= 1200) # include ".\MSVC\1200\TypeManip.h" -#elif ( (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 1)) ) -# include ".\Reference\TypeManip.h" -#elif (__BORLANDC__) +# elif (__BORLANDC__) # include ".\Borland\TypeManip.h" +# elif (__MWERKS__) +# include ".\Reference\TypeManip.h" +# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) ) +# include ".\Reference\TypeManip.h" # else //Define LOKI_USE_REFERENCE and get back to us on the results # error Compiler not tested with Loki, #define LOKI_USE_REFERENCE diff --git a/TypeTraits.h b/TypeTraits.h index 8ad16f5..5f3ecf7 100644 --- a/TypeTraits.h +++ b/TypeTraits.h @@ -2,6 +2,7 @@ //Generated header: TypeTraits.h //Forwards to the appropriate code // that works on the detected compiler +//Generated on Thu Aug 22 21:04:30 2002 #ifdef LOKI_USE_REFERENCE @@ -9,12 +10,14 @@ #else # if (_MSC_VER >= 1300) # include ".\MSVC\1300\TypeTraits.h" -#elif (_MSC_VER >= 1200) +# elif (_MSC_VER >= 1200) # include ".\MSVC\1200\TypeTraits.h" -#elif ( (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 1)) ) -# include ".\Reference\TypeTraits.h" -#elif (__BORLANDC__) +# elif (__BORLANDC__) # include ".\Borland\TypeTraits.h" +# elif (__MWERKS__) +# include ".\Reference\TypeTraits.h" +# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) ) +# include ".\Reference\TypeTraits.h" # else //Define LOKI_USE_REFERENCE and get back to us on the results # error Compiler not tested with Loki, #define LOKI_USE_REFERENCE diff --git a/Typelist.h b/Typelist.h index 7e23218..a6b0621 100644 --- a/Typelist.h +++ b/Typelist.h @@ -2,6 +2,7 @@ //Generated header: Typelist.h //Forwards to the appropriate code // that works on the detected compiler +//Generated on Thu Aug 22 21:04:30 2002 #ifdef LOKI_USE_REFERENCE @@ -9,12 +10,14 @@ #else # if (_MSC_VER >= 1300) # include ".\MSVC\1300\Typelist.h" -#elif (_MSC_VER >= 1200) +# elif (_MSC_VER >= 1200) # include ".\MSVC\1200\Typelist.h" -#elif ( (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 1)) ) -# include ".\Reference\Typelist.h" -#elif (__BORLANDC__) +# elif (__BORLANDC__) # include ".\Borland\Typelist.h" +# elif (__MWERKS__) +# include ".\Reference\Typelist.h" +# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) ) +# include ".\Reference\Typelist.h" # else //Define LOKI_USE_REFERENCE and get back to us on the results # error Compiler not tested with Loki, #define LOKI_USE_REFERENCE diff --git a/Visitor.h b/Visitor.h index a7d66ba..1d5a2fb 100644 --- a/Visitor.h +++ b/Visitor.h @@ -2,6 +2,7 @@ //Generated header: Visitor.h //Forwards to the appropriate code // that works on the detected compiler +//Generated on Thu Aug 22 21:04:30 2002 #ifdef LOKI_USE_REFERENCE @@ -9,12 +10,14 @@ #else # if (_MSC_VER >= 1300) # include ".\MSVC\1300\Visitor.h" -#elif (_MSC_VER >= 1200) +# elif (_MSC_VER >= 1200) # include ".\MSVC\1200\Visitor.h" -#elif ( (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 1)) ) -# include ".\Reference\Visitor.h" -#elif (__BORLANDC__) +# elif (__BORLANDC__) # include ".\Borland\Visitor.h" +# elif (__MWERKS__) +# include ".\Reference\Visitor.h" +# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) ) +# include ".\Reference\Visitor.h" # else //Define LOKI_USE_REFERENCE and get back to us on the results # error Compiler not tested with Loki, #define LOKI_USE_REFERENCE diff --git a/readme.txt b/readme.txt index 784fde9..4d35da8 100644 --- a/readme.txt +++ b/readme.txt @@ -1,4 +1,4 @@ -Last update: Aug 14, 2002 +Last update: Aug 22, 2002 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. + 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: http://moderncppdesign.com http://sourceforge.net/projects/loki-lib/ +http://sourceforge.net/projects/loki-exp/ diff --git a/static_check.h b/static_check.h index 945be4f..65ecd6a 100644 --- a/static_check.h +++ b/static_check.h @@ -2,6 +2,7 @@ //Generated header: static_check.h //Forwards to the appropriate code // that works on the detected compiler +//Generated on Thu Aug 22 21:04:30 2002 #ifdef LOKI_USE_REFERENCE @@ -9,12 +10,14 @@ #else # if (_MSC_VER >= 1300) # include ".\MSVC\1300\static_check.h" -#elif (_MSC_VER >= 1200) +# elif (_MSC_VER >= 1200) # include ".\MSVC\1200\static_check.h" -#elif ( (__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ > 1)) ) -# include ".\Reference\static_check.h" -#elif (__BORLANDC__) +# elif (__BORLANDC__) # 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 //Define LOKI_USE_REFERENCE and get back to us on the results # error Compiler not tested with Loki, #define LOKI_USE_REFERENCE