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:
parent
8c865b9725
commit
72e10284d7
23 changed files with 160 additions and 183 deletions
|
@ -2,22 +2,22 @@
|
|||
//Generated header: AbstractFactory.h
|
||||
//Forwards to the appropriate code
|
||||
// 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
|
||||
# include ".\Reference\AbstractFactory.h"
|
||||
# include "./Reference/AbstractFactory.h"
|
||||
#else
|
||||
# if (_MSC_VER >= 1300)
|
||||
# include ".\MSVC\1300\AbstractFactory.h"
|
||||
# include "./MSVC/1300/AbstractFactory.h"
|
||||
# elif (_MSC_VER >= 1200)
|
||||
# include ".\MSVC\1200\AbstractFactory.h"
|
||||
# include ".MSVC/1200/AbstractFactory.h"
|
||||
# elif (__BORLANDC__)
|
||||
# include ".\Borland\AbstractFactory.h"
|
||||
# include ".Borland/AbstractFactory.h"
|
||||
# elif (__MWERKS__)
|
||||
# include ".\Reference\AbstractFactory.h"
|
||||
# include ".Reference/AbstractFactory.h"
|
||||
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
|
||||
# include ".\Reference\AbstractFactory.h"
|
||||
# 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
|
||||
|
|
|
@ -2,22 +2,22 @@
|
|||
//Generated header: AssocVector.h
|
||||
//Forwards to the appropriate code
|
||||
// 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
|
||||
# include ".\Reference\AssocVector.h"
|
||||
# include "./Reference/AssocVector.h"
|
||||
#else
|
||||
# if (_MSC_VER >= 1300)
|
||||
# include ".\MSVC\1300\AssocVector.h"
|
||||
# include "./MSVC/1300/AssocVector.h"
|
||||
# elif (_MSC_VER >= 1200)
|
||||
# include ".\MSVC\1200\AssocVector.h"
|
||||
# include ".MSVC/1200/AssocVector.h"
|
||||
# elif (__BORLANDC__)
|
||||
# include ".\Borland\AssocVector.h"
|
||||
# include ".Borland/AssocVector.h"
|
||||
# elif (__MWERKS__)
|
||||
# include ".\Reference\AssocVector.h"
|
||||
# include ".Reference/AssocVector.h"
|
||||
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
|
||||
# include ".\Reference\AssocVector.h"
|
||||
# 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
|
||||
|
|
14
EmptyType.h
14
EmptyType.h
|
@ -2,22 +2,22 @@
|
|||
//Generated header: EmptyType.h
|
||||
//Forwards to the appropriate code
|
||||
// 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
|
||||
# include ".\Reference\EmptyType.h"
|
||||
# include "./Reference/EmptyType.h"
|
||||
#else
|
||||
# if (_MSC_VER >= 1300)
|
||||
# include ".\MSVC\1300\EmptyType.h"
|
||||
# include "./MSVC/1300/EmptyType.h"
|
||||
# elif (_MSC_VER >= 1200)
|
||||
# include ".\MSVC\1200\EmptyType.h"
|
||||
# include ".MSVC/1200/EmptyType.h"
|
||||
# elif (__BORLANDC__)
|
||||
# include ".\Borland\EmptyType.h"
|
||||
# include ".Borland/EmptyType.h"
|
||||
# elif (__MWERKS__)
|
||||
# include ".\Reference\EmptyType.h"
|
||||
# include ".Reference/EmptyType.h"
|
||||
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
|
||||
# include ".\Reference\EmptyType.h"
|
||||
# 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
|
||||
|
|
14
Factory.h
14
Factory.h
|
@ -2,22 +2,22 @@
|
|||
//Generated header: Factory.h
|
||||
//Forwards to the appropriate code
|
||||
// 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
|
||||
# include ".\Reference\Factory.h"
|
||||
# include "./Reference/Factory.h"
|
||||
#else
|
||||
# if (_MSC_VER >= 1300)
|
||||
# include ".\MSVC\1300\Factory.h"
|
||||
# include "./MSVC/1300/Factory.h"
|
||||
# elif (_MSC_VER >= 1200)
|
||||
# include ".\MSVC\1200\Factory.h"
|
||||
# include ".MSVC/1200/Factory.h"
|
||||
# elif (__BORLANDC__)
|
||||
# include ".\Borland\Factory.h"
|
||||
# include ".Borland/Factory.h"
|
||||
# elif (__MWERKS__)
|
||||
# include ".\Reference\Factory.h"
|
||||
# include ".Reference/Factory.h"
|
||||
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
|
||||
# include ".\Reference\Factory.h"
|
||||
# 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
|
||||
|
|
14
Functor.h
14
Functor.h
|
@ -2,22 +2,22 @@
|
|||
//Generated header: Functor.h
|
||||
//Forwards to the appropriate code
|
||||
// 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
|
||||
# include ".\Reference\Functor.h"
|
||||
# include "./Reference/Functor.h"
|
||||
#else
|
||||
# if (_MSC_VER >= 1300)
|
||||
# include ".\MSVC\1300\Functor.h"
|
||||
# include "./MSVC/1300/Functor.h"
|
||||
# elif (_MSC_VER >= 1200)
|
||||
# include ".\MSVC\1200\Functor.h"
|
||||
# include ".MSVC/1200/Functor.h"
|
||||
# elif (__BORLANDC__)
|
||||
# include ".\Borland\Functor.h"
|
||||
# include ".Borland/Functor.h"
|
||||
# elif (__MWERKS__)
|
||||
# include ".\Reference\Functor.h"
|
||||
# include ".Reference/Functor.h"
|
||||
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
|
||||
# include ".\Reference\Functor.h"
|
||||
# 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
|
||||
|
|
|
@ -2,22 +2,22 @@
|
|||
//Generated header: HierarchyGenerators.h
|
||||
//Forwards to the appropriate code
|
||||
// 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
|
||||
# include ".\Reference\HierarchyGenerators.h"
|
||||
# include "./Reference/HierarchyGenerators.h"
|
||||
#else
|
||||
# if (_MSC_VER >= 1300)
|
||||
# include ".\MSVC\1300\HierarchyGenerators.h"
|
||||
# include "./MSVC/1300/HierarchyGenerators.h"
|
||||
# elif (_MSC_VER >= 1200)
|
||||
# include ".\MSVC\1200\HierarchyGenerators.h"
|
||||
# include ".MSVC/1200/HierarchyGenerators.h"
|
||||
# elif (__BORLANDC__)
|
||||
# include ".\Borland\HierarchyGenerators.h"
|
||||
# include ".Borland/HierarchyGenerators.h"
|
||||
# elif (__MWERKS__)
|
||||
# include ".\Reference\HierarchyGenerators.h"
|
||||
# include ".Reference/HierarchyGenerators.h"
|
||||
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
|
||||
# include ".\Reference\HierarchyGenerators.h"
|
||||
# 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
|
||||
|
|
|
@ -2,22 +2,22 @@
|
|||
//Generated header: MultiMethods.h
|
||||
//Forwards to the appropriate code
|
||||
// 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
|
||||
# include ".\Reference\MultiMethods.h"
|
||||
# include "./Reference/MultiMethods.h"
|
||||
#else
|
||||
# if (_MSC_VER >= 1300)
|
||||
# include ".\MSVC\1300\MultiMethods.h"
|
||||
# include "./MSVC/1300/MultiMethods.h"
|
||||
# elif (_MSC_VER >= 1200)
|
||||
# include ".\MSVC\1200\MultiMethods.h"
|
||||
# include ".MSVC/1200/MultiMethods.h"
|
||||
# elif (__BORLANDC__)
|
||||
# include ".\Borland\MultiMethods.h"
|
||||
# include ".Borland/MultiMethods.h"
|
||||
# elif (__MWERKS__)
|
||||
# include ".\Reference\MultiMethods.h"
|
||||
# include ".Reference/MultiMethods.h"
|
||||
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
|
||||
# include ".\Reference\MultiMethods.h"
|
||||
# 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
|
||||
|
|
14
NullType.h
14
NullType.h
|
@ -2,22 +2,22 @@
|
|||
//Generated header: NullType.h
|
||||
//Forwards to the appropriate code
|
||||
// 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
|
||||
# include ".\Reference\NullType.h"
|
||||
# include "./Reference/NullType.h"
|
||||
#else
|
||||
# if (_MSC_VER >= 1300)
|
||||
# include ".\MSVC\1300\NullType.h"
|
||||
# include "./MSVC/1300/NullType.h"
|
||||
# elif (_MSC_VER >= 1200)
|
||||
# include ".\MSVC\1200\NullType.h"
|
||||
# include ".MSVC/1200/NullType.h"
|
||||
# elif (__BORLANDC__)
|
||||
# include ".\Borland\NullType.h"
|
||||
# include ".Borland/NullType.h"
|
||||
# elif (__MWERKS__)
|
||||
# include ".\Reference\NullType.h"
|
||||
# include ".Reference/NullType.h"
|
||||
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
|
||||
# include ".\Reference\NullType.h"
|
||||
# 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
|
||||
|
|
|
@ -2,22 +2,22 @@
|
|||
//Generated header: Singleton.cpp
|
||||
//Forwards to the appropriate code
|
||||
// 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
|
||||
# include ".\Reference\Singleton.cpp"
|
||||
# include "./Reference/Singleton.cpp"
|
||||
#else
|
||||
# if (_MSC_VER >= 1300)
|
||||
# include ".\MSVC\1300\Singleton.cpp"
|
||||
# include "./MSVC/1300/Singleton.cpp"
|
||||
# elif (_MSC_VER >= 1200)
|
||||
# include ".\MSVC\1200\Singleton.cpp"
|
||||
# include ".MSVC/1200/Singleton.cpp"
|
||||
# elif (__BORLANDC__)
|
||||
# include ".\Borland\Singleton.cpp"
|
||||
# include ".Borland/Singleton.cpp"
|
||||
# elif (__MWERKS__)
|
||||
# include ".\Reference\Singleton.cpp"
|
||||
# include ".Reference/Singleton.cpp"
|
||||
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
|
||||
# include ".\Reference\Singleton.cpp"
|
||||
# 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
|
||||
|
|
14
Singleton.h
14
Singleton.h
|
@ -2,22 +2,22 @@
|
|||
//Generated header: Singleton.h
|
||||
//Forwards to the appropriate code
|
||||
// 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
|
||||
# include ".\Reference\Singleton.h"
|
||||
# include "./Reference/Singleton.h"
|
||||
#else
|
||||
# if (_MSC_VER >= 1300)
|
||||
# include ".\MSVC\1300\Singleton.h"
|
||||
# include "./MSVC/1300/Singleton.h"
|
||||
# elif (_MSC_VER >= 1200)
|
||||
# include ".\MSVC\1200\Singleton.h"
|
||||
# include ".MSVC/1200/Singleton.h"
|
||||
# elif (__BORLANDC__)
|
||||
# include ".\Borland\Singleton.h"
|
||||
# include ".Borland/Singleton.h"
|
||||
# elif (__MWERKS__)
|
||||
# include ".\Reference\Singleton.h"
|
||||
# include ".Reference/Singleton.h"
|
||||
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
|
||||
# include ".\Reference\Singleton.h"
|
||||
# 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
|
||||
|
|
14
SmallObj.cpp
14
SmallObj.cpp
|
@ -2,22 +2,22 @@
|
|||
//Generated header: SmallObj.cpp
|
||||
//Forwards to the appropriate code
|
||||
// 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
|
||||
# include ".\Reference\SmallObj.cpp"
|
||||
# include "./Reference/SmallObj.cpp"
|
||||
#else
|
||||
# if (_MSC_VER >= 1300)
|
||||
# include ".\MSVC\1300\SmallObj.cpp"
|
||||
# include "./MSVC/1300/SmallObj.cpp"
|
||||
# elif (_MSC_VER >= 1200)
|
||||
# include ".\MSVC\1200\SmallObj.cpp"
|
||||
# include ".MSVC/1200/SmallObj.cpp"
|
||||
# elif (__BORLANDC__)
|
||||
# include ".\Borland\SmallObj.cpp"
|
||||
# include ".Borland/SmallObj.cpp"
|
||||
# elif (__MWERKS__)
|
||||
# include ".\Reference\SmallObj.cpp"
|
||||
# include ".Reference/SmallObj.cpp"
|
||||
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
|
||||
# include ".\Reference\SmallObj.cpp"
|
||||
# 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
|
||||
|
|
14
SmallObj.h
14
SmallObj.h
|
@ -2,22 +2,22 @@
|
|||
//Generated header: SmallObj.h
|
||||
//Forwards to the appropriate code
|
||||
// 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
|
||||
# include ".\Reference\SmallObj.h"
|
||||
# include "./Reference/SmallObj.h"
|
||||
#else
|
||||
# if (_MSC_VER >= 1300)
|
||||
# include ".\MSVC\1300\SmallObj.h"
|
||||
# include "./MSVC/1300/SmallObj.h"
|
||||
# elif (_MSC_VER >= 1200)
|
||||
# include ".\MSVC\1200\SmallObj.h"
|
||||
# include ".MSVC/1200/SmallObj.h"
|
||||
# elif (__BORLANDC__)
|
||||
# include ".\Borland\SmallObj.h"
|
||||
# include ".Borland/SmallObj.h"
|
||||
# elif (__MWERKS__)
|
||||
# include ".\Reference\SmallObj.h"
|
||||
# include ".Reference/SmallObj.h"
|
||||
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
|
||||
# include ".\Reference\SmallObj.h"
|
||||
# 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
|
||||
|
|
14
SmartPtr.h
14
SmartPtr.h
|
@ -2,22 +2,22 @@
|
|||
//Generated header: SmartPtr.h
|
||||
//Forwards to the appropriate code
|
||||
// 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
|
||||
# include ".\Reference\SmartPtr.h"
|
||||
# include "./Reference/SmartPtr.h"
|
||||
#else
|
||||
# if (_MSC_VER >= 1300)
|
||||
# include ".\MSVC\1300\SmartPtr.h"
|
||||
# include "./MSVC/1300/SmartPtr.h"
|
||||
# elif (_MSC_VER >= 1200)
|
||||
# include ".\MSVC\1200\SmartPtr.h"
|
||||
# include ".MSVC/1200/SmartPtr.h"
|
||||
# elif (__BORLANDC__)
|
||||
# include ".\Borland\SmartPtr.h"
|
||||
# include ".Borland/SmartPtr.h"
|
||||
# elif (__MWERKS__)
|
||||
# include ".\Reference\SmartPtr.h"
|
||||
# include ".Reference/SmartPtr.h"
|
||||
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
|
||||
# include ".\Reference\SmartPtr.h"
|
||||
# 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
|
||||
|
|
14
Threads.h
14
Threads.h
|
@ -2,22 +2,22 @@
|
|||
//Generated header: Threads.h
|
||||
//Forwards to the appropriate code
|
||||
// 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
|
||||
# include ".\Reference\Threads.h"
|
||||
# include "./Reference/Threads.h"
|
||||
#else
|
||||
# if (_MSC_VER >= 1300)
|
||||
# include ".\MSVC\1300\Threads.h"
|
||||
# include "./MSVC/1300/Threads.h"
|
||||
# elif (_MSC_VER >= 1200)
|
||||
# include ".\MSVC\1200\Threads.h"
|
||||
# include ".MSVC/1200/Threads.h"
|
||||
# elif (__BORLANDC__)
|
||||
# include ".\Borland\Threads.h"
|
||||
# include ".Borland/Threads.h"
|
||||
# elif (__MWERKS__)
|
||||
# include ".\Reference\Threads.h"
|
||||
# include ".Reference/Threads.h"
|
||||
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
|
||||
# include ".\Reference\Threads.h"
|
||||
# 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
|
||||
|
|
14
Tuple.h
14
Tuple.h
|
@ -2,22 +2,22 @@
|
|||
//Generated header: Tuple.h
|
||||
//Forwards to the appropriate code
|
||||
// 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
|
||||
# include ".\Reference\Tuple.h"
|
||||
# include "./Reference/Tuple.h"
|
||||
#else
|
||||
# if (_MSC_VER >= 1300)
|
||||
# include ".\MSVC\1300\Tuple.h"
|
||||
# include "./MSVC/1300/Tuple.h"
|
||||
# elif (_MSC_VER >= 1200)
|
||||
# include ".\MSVC\1200\Tuple.h"
|
||||
# include ".MSVC/1200/Tuple.h"
|
||||
# elif (__BORLANDC__)
|
||||
# include ".\Borland\Tuple.h"
|
||||
# include ".Borland/Tuple.h"
|
||||
# elif (__MWERKS__)
|
||||
# include ".\Reference\Tuple.h"
|
||||
# include ".Reference/Tuple.h"
|
||||
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
|
||||
# include ".\Reference\Tuple.h"
|
||||
# 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
|
||||
|
|
14
TypeInfo.h
14
TypeInfo.h
|
@ -2,22 +2,22 @@
|
|||
//Generated header: TypeInfo.h
|
||||
//Forwards to the appropriate code
|
||||
// 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
|
||||
# include ".\Reference\TypeInfo.h"
|
||||
# include "./Reference/TypeInfo.h"
|
||||
#else
|
||||
# if (_MSC_VER >= 1300)
|
||||
# include ".\MSVC\1300\TypeInfo.h"
|
||||
# include "./MSVC/1300/TypeInfo.h"
|
||||
# elif (_MSC_VER >= 1200)
|
||||
# include ".\MSVC\1200\TypeInfo.h"
|
||||
# include ".MSVC/1200/TypeInfo.h"
|
||||
# elif (__BORLANDC__)
|
||||
# include ".\Borland\TypeInfo.h"
|
||||
# include ".Borland/TypeInfo.h"
|
||||
# elif (__MWERKS__)
|
||||
# include ".\Reference\TypeInfo.h"
|
||||
# include ".Reference/TypeInfo.h"
|
||||
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
|
||||
# include ".\Reference\TypeInfo.h"
|
||||
# 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
|
||||
|
|
14
TypeManip.h
14
TypeManip.h
|
@ -2,22 +2,22 @@
|
|||
//Generated header: TypeManip.h
|
||||
//Forwards to the appropriate code
|
||||
// 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
|
||||
# include ".\Reference\TypeManip.h"
|
||||
# include "./Reference/TypeManip.h"
|
||||
#else
|
||||
# if (_MSC_VER >= 1300)
|
||||
# include ".\MSVC\1300\TypeManip.h"
|
||||
# include "./MSVC/1300/TypeManip.h"
|
||||
# elif (_MSC_VER >= 1200)
|
||||
# include ".\MSVC\1200\TypeManip.h"
|
||||
# include ".MSVC/1200/TypeManip.h"
|
||||
# elif (__BORLANDC__)
|
||||
# include ".\Borland\TypeManip.h"
|
||||
# include ".Borland/TypeManip.h"
|
||||
# elif (__MWERKS__)
|
||||
# include ".\Reference\TypeManip.h"
|
||||
# include ".Reference/TypeManip.h"
|
||||
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
|
||||
# include ".\Reference\TypeManip.h"
|
||||
# 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
|
||||
|
|
14
TypeTraits.h
14
TypeTraits.h
|
@ -2,22 +2,22 @@
|
|||
//Generated header: TypeTraits.h
|
||||
//Forwards to the appropriate code
|
||||
// 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
|
||||
# include ".\Reference\TypeTraits.h"
|
||||
# include "./Reference/TypeTraits.h"
|
||||
#else
|
||||
# if (_MSC_VER >= 1300)
|
||||
# include ".\MSVC\1300\TypeTraits.h"
|
||||
# include "./MSVC/1300/TypeTraits.h"
|
||||
# elif (_MSC_VER >= 1200)
|
||||
# include ".\MSVC\1200\TypeTraits.h"
|
||||
# include ".MSVC/1200/TypeTraits.h"
|
||||
# elif (__BORLANDC__)
|
||||
# include ".\Borland\TypeTraits.h"
|
||||
# include ".Borland/TypeTraits.h"
|
||||
# elif (__MWERKS__)
|
||||
# include ".\Reference\TypeTraits.h"
|
||||
# include ".Reference/TypeTraits.h"
|
||||
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
|
||||
# include ".\Reference\TypeTraits.h"
|
||||
# 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
|
||||
|
|
14
Typelist.h
14
Typelist.h
|
@ -2,22 +2,22 @@
|
|||
//Generated header: Typelist.h
|
||||
//Forwards to the appropriate code
|
||||
// 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
|
||||
# include ".\Reference\Typelist.h"
|
||||
# include "./Reference/Typelist.h"
|
||||
#else
|
||||
# if (_MSC_VER >= 1300)
|
||||
# include ".\MSVC\1300\Typelist.h"
|
||||
# include "./MSVC/1300/Typelist.h"
|
||||
# elif (_MSC_VER >= 1200)
|
||||
# include ".\MSVC\1200\Typelist.h"
|
||||
# include ".MSVC/1200/Typelist.h"
|
||||
# elif (__BORLANDC__)
|
||||
# include ".\Borland\Typelist.h"
|
||||
# include ".Borland/Typelist.h"
|
||||
# elif (__MWERKS__)
|
||||
# include ".\Reference\Typelist.h"
|
||||
# include ".Reference/Typelist.h"
|
||||
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
|
||||
# include ".\Reference\Typelist.h"
|
||||
# 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
|
||||
|
|
14
Visitor.h
14
Visitor.h
|
@ -2,22 +2,22 @@
|
|||
//Generated header: Visitor.h
|
||||
//Forwards to the appropriate code
|
||||
// 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
|
||||
# include ".\Reference\Visitor.h"
|
||||
# include "./Reference/Visitor.h"
|
||||
#else
|
||||
# if (_MSC_VER >= 1300)
|
||||
# include ".\MSVC\1300\Visitor.h"
|
||||
# include "./MSVC/1300/Visitor.h"
|
||||
# elif (_MSC_VER >= 1200)
|
||||
# include ".\MSVC\1200\Visitor.h"
|
||||
# include ".MSVC/1200/Visitor.h"
|
||||
# elif (__BORLANDC__)
|
||||
# include ".\Borland\Visitor.h"
|
||||
# include ".Borland/Visitor.h"
|
||||
# elif (__MWERKS__)
|
||||
# include ".\Reference\Visitor.h"
|
||||
# include ".Reference/Visitor.h"
|
||||
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
|
||||
# include ".\Reference\Visitor.h"
|
||||
# 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
|
||||
|
|
|
@ -2,22 +2,22 @@
|
|||
//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
|
||||
//Generated on Tue Sep 03 22:39:16 2002
|
||||
|
||||
|
||||
#ifdef LOKI_USE_REFERENCE
|
||||
# include ".\Reference\static_check.h"
|
||||
# include "./Reference/static_check.h"
|
||||
#else
|
||||
# if (_MSC_VER >= 1300)
|
||||
# include ".\MSVC\1300\static_check.h"
|
||||
# include "./MSVC/1300/static_check.h"
|
||||
# elif (_MSC_VER >= 1200)
|
||||
# include ".\MSVC\1200\static_check.h"
|
||||
# include ".MSVC/1200/static_check.h"
|
||||
# elif (__BORLANDC__)
|
||||
# include ".\Borland\static_check.h"
|
||||
# include ".Borland/static_check.h"
|
||||
# elif (__MWERKS__)
|
||||
# include ".\Reference\static_check.h"
|
||||
# include ".Reference/static_check.h"
|
||||
# elif ( (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95)) )
|
||||
# include ".\Reference\static_check.h"
|
||||
# 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
|
||||
|
|
|
@ -112,18 +112,23 @@ int main(int argc, char* argv[])
|
|||
cv_t::iterator it=vendors.begin(), itEnd = vendors.end();
|
||||
|
||||
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 << "#\tif " << it->version_test << endl;
|
||||
header_file << "#\t\tinclude \".\\" << it->subdir;
|
||||
header_file << "\\" << header << "\"\n";
|
||||
//header_file << "#\t\tinclude \".\\" << it->subdir;
|
||||
header_file << "#\t\tinclude \"./" << it->subdir;
|
||||
//header_file << "\\" << header << "\"\n";
|
||||
header_file << "/" << header << "\"\n";
|
||||
++it;
|
||||
for(; it!=itEnd; ++it)
|
||||
{
|
||||
header_file << "#\telif " << it->version_test << endl;
|
||||
header_file << "#\t\tinclude \".\\" << it->subdir;
|
||||
header_file << "\\" << header << "\"\n";
|
||||
//header_file << "#\t\tinclude \".\\" << it->subdir;
|
||||
header_file << "#\t\tinclude \"." << it->subdir;
|
||||
//header_file << "\\" << header << "\"\n";
|
||||
header_file << "/" << header << "\"\n";
|
||||
}
|
||||
header_file << "#\telse\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
|
||||
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(),);
|
||||
}
|
|
@ -1,8 +1,8 @@
|
|||
(_MSC_VER >= 1300)
|
||||
MSVC\1300
|
||||
MSVC/1300
|
||||
|
||||
(_MSC_VER >= 1200)
|
||||
MSVC\1200
|
||||
MSVC/1200
|
||||
|
||||
(__BORLANDC__)
|
||||
Borland
|
||||
|
|
Loading…
Reference in a new issue