Now uses forward slashes

backslashes didn't work on Linux w/gcc 3.2


git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@44 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
magmaikh 2002-09-04 02:46:49 +00:00
parent 8c865b9725
commit 72e10284d7
23 changed files with 160 additions and 183 deletions

View file

@ -2,22 +2,22 @@
//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 //Generated on Tue Sep 03 22:39:15 2002
#ifdef LOKI_USE_REFERENCE #ifdef LOKI_USE_REFERENCE
# include ".\Reference\AbstractFactory.h" # include "./Reference/AbstractFactory.h"
#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 (__BORLANDC__) # elif (__BORLANDC__)
# include ".\Borland\AbstractFactory.h" # include ".Borland/AbstractFactory.h"
# elif (__MWERKS__) # elif (__MWERKS__)
# include ".\Reference\AbstractFactory.h" # include ".Reference/AbstractFactory.h"
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) ) # elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
# include ".\Reference\AbstractFactory.h" # 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,22 +2,22 @@
//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 //Generated on Tue Sep 03 22:39:15 2002
#ifdef LOKI_USE_REFERENCE #ifdef LOKI_USE_REFERENCE
# include ".\Reference\AssocVector.h" # include "./Reference/AssocVector.h"
#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 (__BORLANDC__) # elif (__BORLANDC__)
# include ".\Borland\AssocVector.h" # include ".Borland/AssocVector.h"
# elif (__MWERKS__) # elif (__MWERKS__)
# include ".\Reference\AssocVector.h" # include ".Reference/AssocVector.h"
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) ) # elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
# include ".\Reference\AssocVector.h" # 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,22 +2,22 @@
//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 //Generated on Tue Sep 03 22:39:15 2002
#ifdef LOKI_USE_REFERENCE #ifdef LOKI_USE_REFERENCE
# include ".\Reference\EmptyType.h" # include "./Reference/EmptyType.h"
#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 (__BORLANDC__) # elif (__BORLANDC__)
# include ".\Borland\EmptyType.h" # include ".Borland/EmptyType.h"
# elif (__MWERKS__) # elif (__MWERKS__)
# include ".\Reference\EmptyType.h" # include ".Reference/EmptyType.h"
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) ) # elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
# include ".\Reference\EmptyType.h" # 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,22 +2,22 @@
//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 //Generated on Tue Sep 03 22:39:15 2002
#ifdef LOKI_USE_REFERENCE #ifdef LOKI_USE_REFERENCE
# include ".\Reference\Factory.h" # include "./Reference/Factory.h"
#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 (__BORLANDC__) # elif (__BORLANDC__)
# include ".\Borland\Factory.h" # include ".Borland/Factory.h"
# elif (__MWERKS__) # elif (__MWERKS__)
# include ".\Reference\Factory.h" # include ".Reference/Factory.h"
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) ) # elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
# include ".\Reference\Factory.h" # 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,22 +2,22 @@
//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 //Generated on Tue Sep 03 22:39:15 2002
#ifdef LOKI_USE_REFERENCE #ifdef LOKI_USE_REFERENCE
# include ".\Reference\Functor.h" # include "./Reference/Functor.h"
#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 (__BORLANDC__) # elif (__BORLANDC__)
# include ".\Borland\Functor.h" # include ".Borland/Functor.h"
# elif (__MWERKS__) # elif (__MWERKS__)
# include ".\Reference\Functor.h" # include ".Reference/Functor.h"
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) ) # elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
# include ".\Reference\Functor.h" # 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,22 +2,22 @@
//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 //Generated on Tue Sep 03 22:39:15 2002
#ifdef LOKI_USE_REFERENCE #ifdef LOKI_USE_REFERENCE
# include ".\Reference\HierarchyGenerators.h" # include "./Reference/HierarchyGenerators.h"
#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 (__BORLANDC__) # elif (__BORLANDC__)
# include ".\Borland\HierarchyGenerators.h" # include ".Borland/HierarchyGenerators.h"
# elif (__MWERKS__) # elif (__MWERKS__)
# include ".\Reference\HierarchyGenerators.h" # include ".Reference/HierarchyGenerators.h"
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) ) # elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
# include ".\Reference\HierarchyGenerators.h" # 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,22 +2,22 @@
//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 //Generated on Tue Sep 03 22:39:15 2002
#ifdef LOKI_USE_REFERENCE #ifdef LOKI_USE_REFERENCE
# include ".\Reference\MultiMethods.h" # include "./Reference/MultiMethods.h"
#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 (__BORLANDC__) # elif (__BORLANDC__)
# include ".\Borland\MultiMethods.h" # include ".Borland/MultiMethods.h"
# elif (__MWERKS__) # elif (__MWERKS__)
# include ".\Reference\MultiMethods.h" # include ".Reference/MultiMethods.h"
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) ) # elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
# include ".\Reference\MultiMethods.h" # 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,22 +2,22 @@
//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 //Generated on Tue Sep 03 22:39:15 2002
#ifdef LOKI_USE_REFERENCE #ifdef LOKI_USE_REFERENCE
# include ".\Reference\NullType.h" # include "./Reference/NullType.h"
#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 (__BORLANDC__) # elif (__BORLANDC__)
# include ".\Borland\NullType.h" # include ".Borland/NullType.h"
# elif (__MWERKS__) # elif (__MWERKS__)
# include ".\Reference\NullType.h" # include ".Reference/NullType.h"
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) ) # elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
# include ".\Reference\NullType.h" # 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,22 +2,22 @@
//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 //Generated on Tue Sep 03 22:39:16 2002
#ifdef LOKI_USE_REFERENCE #ifdef LOKI_USE_REFERENCE
# include ".\Reference\Singleton.cpp" # include "./Reference/Singleton.cpp"
#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 (__BORLANDC__) # elif (__BORLANDC__)
# include ".\Borland\Singleton.cpp" # include ".Borland/Singleton.cpp"
# elif (__MWERKS__) # elif (__MWERKS__)
# include ".\Reference\Singleton.cpp" # include ".Reference/Singleton.cpp"
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) ) # elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
# include ".\Reference\Singleton.cpp" # 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,22 +2,22 @@
//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 //Generated on Tue Sep 03 22:39:15 2002
#ifdef LOKI_USE_REFERENCE #ifdef LOKI_USE_REFERENCE
# include ".\Reference\Singleton.h" # include "./Reference/Singleton.h"
#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 (__BORLANDC__) # elif (__BORLANDC__)
# include ".\Borland\Singleton.h" # include ".Borland/Singleton.h"
# elif (__MWERKS__) # elif (__MWERKS__)
# include ".\Reference\Singleton.h" # include ".Reference/Singleton.h"
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) ) # elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
# include ".\Reference\Singleton.h" # 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,22 +2,22 @@
//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 //Generated on Tue Sep 03 22:39:16 2002
#ifdef LOKI_USE_REFERENCE #ifdef LOKI_USE_REFERENCE
# include ".\Reference\SmallObj.cpp" # include "./Reference/SmallObj.cpp"
#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 (__BORLANDC__) # elif (__BORLANDC__)
# include ".\Borland\SmallObj.cpp" # include ".Borland/SmallObj.cpp"
# elif (__MWERKS__) # elif (__MWERKS__)
# include ".\Reference\SmallObj.cpp" # include ".Reference/SmallObj.cpp"
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) ) # elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
# include ".\Reference\SmallObj.cpp" # 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,22 +2,22 @@
//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 //Generated on Tue Sep 03 22:39:15 2002
#ifdef LOKI_USE_REFERENCE #ifdef LOKI_USE_REFERENCE
# include ".\Reference\SmallObj.h" # include "./Reference/SmallObj.h"
#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 (__BORLANDC__) # elif (__BORLANDC__)
# include ".\Borland\SmallObj.h" # include ".Borland/SmallObj.h"
# elif (__MWERKS__) # elif (__MWERKS__)
# include ".\Reference\SmallObj.h" # include ".Reference/SmallObj.h"
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) ) # elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
# include ".\Reference\SmallObj.h" # 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,22 +2,22 @@
//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 //Generated on Tue Sep 03 22:39:15 2002
#ifdef LOKI_USE_REFERENCE #ifdef LOKI_USE_REFERENCE
# include ".\Reference\SmartPtr.h" # include "./Reference/SmartPtr.h"
#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 (__BORLANDC__) # elif (__BORLANDC__)
# include ".\Borland\SmartPtr.h" # include ".Borland/SmartPtr.h"
# elif (__MWERKS__) # elif (__MWERKS__)
# include ".\Reference\SmartPtr.h" # include ".Reference/SmartPtr.h"
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) ) # elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
# include ".\Reference\SmartPtr.h" # 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,22 +2,22 @@
//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 //Generated on Tue Sep 03 22:39:16 2002
#ifdef LOKI_USE_REFERENCE #ifdef LOKI_USE_REFERENCE
# include ".\Reference\Threads.h" # include "./Reference/Threads.h"
#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 (__BORLANDC__) # elif (__BORLANDC__)
# include ".\Borland\Threads.h" # include ".Borland/Threads.h"
# elif (__MWERKS__) # elif (__MWERKS__)
# include ".\Reference\Threads.h" # include ".Reference/Threads.h"
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) ) # elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
# include ".\Reference\Threads.h" # 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

14
Tuple.h
View file

@ -2,22 +2,22 @@
//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 //Generated on Tue Sep 03 22:39:16 2002
#ifdef LOKI_USE_REFERENCE #ifdef LOKI_USE_REFERENCE
# include ".\Reference\Tuple.h" # include "./Reference/Tuple.h"
#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 (__BORLANDC__) # elif (__BORLANDC__)
# include ".\Borland\Tuple.h" # include ".Borland/Tuple.h"
# elif (__MWERKS__) # elif (__MWERKS__)
# include ".\Reference\Tuple.h" # include ".Reference/Tuple.h"
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) ) # elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
# include ".\Reference\Tuple.h" # 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,22 +2,22 @@
//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 //Generated on Tue Sep 03 22:39:16 2002
#ifdef LOKI_USE_REFERENCE #ifdef LOKI_USE_REFERENCE
# include ".\Reference\TypeInfo.h" # include "./Reference/TypeInfo.h"
#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 (__BORLANDC__) # elif (__BORLANDC__)
# include ".\Borland\TypeInfo.h" # include ".Borland/TypeInfo.h"
# elif (__MWERKS__) # elif (__MWERKS__)
# include ".\Reference\TypeInfo.h" # include ".Reference/TypeInfo.h"
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) ) # elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
# include ".\Reference\TypeInfo.h" # 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,22 +2,22 @@
//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 //Generated on Tue Sep 03 22:39:16 2002
#ifdef LOKI_USE_REFERENCE #ifdef LOKI_USE_REFERENCE
# include ".\Reference\TypeManip.h" # include "./Reference/TypeManip.h"
#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 (__BORLANDC__) # elif (__BORLANDC__)
# include ".\Borland\TypeManip.h" # include ".Borland/TypeManip.h"
# elif (__MWERKS__) # elif (__MWERKS__)
# include ".\Reference\TypeManip.h" # include ".Reference/TypeManip.h"
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) ) # elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
# include ".\Reference\TypeManip.h" # 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,22 +2,22 @@
//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 //Generated on Tue Sep 03 22:39:16 2002
#ifdef LOKI_USE_REFERENCE #ifdef LOKI_USE_REFERENCE
# include ".\Reference\TypeTraits.h" # include "./Reference/TypeTraits.h"
#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 (__BORLANDC__) # elif (__BORLANDC__)
# include ".\Borland\TypeTraits.h" # include ".Borland/TypeTraits.h"
# elif (__MWERKS__) # elif (__MWERKS__)
# include ".\Reference\TypeTraits.h" # include ".Reference/TypeTraits.h"
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) ) # elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
# include ".\Reference\TypeTraits.h" # 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,22 +2,22 @@
//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 //Generated on Tue Sep 03 22:39:16 2002
#ifdef LOKI_USE_REFERENCE #ifdef LOKI_USE_REFERENCE
# include ".\Reference\Typelist.h" # include "./Reference/Typelist.h"
#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 (__BORLANDC__) # elif (__BORLANDC__)
# include ".\Borland\Typelist.h" # include ".Borland/Typelist.h"
# elif (__MWERKS__) # elif (__MWERKS__)
# include ".\Reference\Typelist.h" # include ".Reference/Typelist.h"
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) ) # elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
# include ".\Reference\Typelist.h" # 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,22 +2,22 @@
//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 //Generated on Tue Sep 03 22:39:16 2002
#ifdef LOKI_USE_REFERENCE #ifdef LOKI_USE_REFERENCE
# include ".\Reference\Visitor.h" # include "./Reference/Visitor.h"
#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 (__BORLANDC__) # elif (__BORLANDC__)
# include ".\Borland\Visitor.h" # include ".Borland/Visitor.h"
# elif (__MWERKS__) # elif (__MWERKS__)
# include ".\Reference\Visitor.h" # include ".Reference/Visitor.h"
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) ) # elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
# include ".\Reference\Visitor.h" # 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

@ -2,22 +2,22 @@
//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 //Generated on Tue Sep 03 22:39:16 2002
#ifdef LOKI_USE_REFERENCE #ifdef LOKI_USE_REFERENCE
# include ".\Reference\static_check.h" # include "./Reference/static_check.h"
#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 (__BORLANDC__) # elif (__BORLANDC__)
# include ".\Borland\static_check.h" # include ".Borland/static_check.h"
# elif (__MWERKS__) # elif (__MWERKS__)
# include ".\Reference\static_check.h" # include ".Reference/static_check.h"
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) ) # elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
# include ".\Reference\static_check.h" # 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

View file

@ -112,18 +112,23 @@ int main(int argc, char* argv[])
cv_t::iterator it=vendors.begin(), itEnd = vendors.end(); cv_t::iterator it=vendors.begin(), itEnd = vendors.end();
header_file << "#ifdef LOKI_USE_REFERENCE\n"; header_file << "#ifdef LOKI_USE_REFERENCE\n";
header_file << "#\tinclude \".\\Reference\\" << header << "\"\n"; header_file << "#\tinclude \"./Reference/" << header << "\"\n";
//header_file << "#\tinclude \".\\Reference\\" << header << "\"\n";
header_file << "#else\n"; header_file << "#else\n";
header_file << "#\tif " << it->version_test << endl; header_file << "#\tif " << it->version_test << endl;
header_file << "#\t\tinclude \".\\" << it->subdir; //header_file << "#\t\tinclude \".\\" << it->subdir;
header_file << "\\" << header << "\"\n"; header_file << "#\t\tinclude \"./" << it->subdir;
//header_file << "\\" << header << "\"\n";
header_file << "/" << header << "\"\n";
++it; ++it;
for(; it!=itEnd; ++it) for(; it!=itEnd; ++it)
{ {
header_file << "#\telif " << it->version_test << endl; header_file << "#\telif " << it->version_test << endl;
header_file << "#\t\tinclude \".\\" << it->subdir; //header_file << "#\t\tinclude \".\\" << it->subdir;
header_file << "\\" << header << "\"\n"; header_file << "#\t\tinclude \"." << it->subdir;
//header_file << "\\" << header << "\"\n";
header_file << "/" << header << "\"\n";
} }
header_file << "#\telse\n"; header_file << "#\telse\n";
header_file << "\t\t//Define LOKI_USE_REFERENCE and get back to us on the results\n"; header_file << "\t\t//Define LOKI_USE_REFERENCE and get back to us on the results\n";
@ -137,31 +142,3 @@ int main(int argc, char* argv[])
#endif #endif
return 0; return 0;
} }
#include <vector>
#include <algorithm>
#include <functional>
struct MyClass
{
typedef std::vector<int> vector_t;
typedef std::vector<vector_t> vector2D_t;
vector2D_t some_vector;
void ResizeVector(int x, int y);
};
void MyClass::ResizeVector(int x, int y)
{
this->some_vector.resize(x);
vector2D_t::iterator it, itEnd = this->some_vector.end();
for(it = this->some_vector.begin(); it!=itEnd; ++it)
it->resize(y);
//or
std::for_each(this->some_vector.begin(), this->some_vector.end(),
std::mem_fun_ref(&vector_t::size));
std::mem_fun_ref(&vector_t::resize)(*this->some_vector.begin(), y);
std::bind2nd(std::mem_fun_ref(&vector_t::resize), 5)(&*this->some_vector.begin());
//std::for_each(this->some_vector.begin(), this->some_vector.end(),);
}

View file

@ -1,8 +1,8 @@
(_MSC_VER >= 1300) (_MSC_VER >= 1300)
MSVC\1300 MSVC/1300
(_MSC_VER >= 1200) (_MSC_VER >= 1200)
MSVC\1200 MSVC/1200
(__BORLANDC__) (__BORLANDC__)
Borland Borland