diff options
| author | Remko Tronçon <git@el-tramo.be> | 2010-02-11 12:14:00 (GMT) | 
|---|---|---|
| committer | Remko Tronçon <git@el-tramo.be> | 2010-02-11 12:14:00 (GMT) | 
| commit | 0efa7c32aaf21a29b42b5926cc116007056843be (patch) | |
| tree | 882f663a5dd0e65694bf6077b71086dd77fd7ff8 /3rdParty/Boost/libs/regex/src/usinstances.cpp | |
| parent | 1d20eabbc32274b491b4c2bedf73d19933d97bfd (diff) | |
| download | swift-0efa7c32aaf21a29b42b5926cc116007056843be.zip swift-0efa7c32aaf21a29b42b5926cc116007056843be.tar.bz2 | |
Moved some modules into separate git modules.
Diffstat (limited to '3rdParty/Boost/libs/regex/src/usinstances.cpp')
| m--------- | 3rdParty/Boost | 0 | ||||
| -rw-r--r-- | 3rdParty/Boost/libs/regex/src/usinstances.cpp | 77 | 
2 files changed, 0 insertions, 77 deletions
| diff --git a/3rdParty/Boost b/3rdParty/Boost new file mode 160000 +Subproject 3bbdbc8cf1996f23d9a366da8bac0f97be6ad79 diff --git a/3rdParty/Boost/libs/regex/src/usinstances.cpp b/3rdParty/Boost/libs/regex/src/usinstances.cpp deleted file mode 100644 index 5665366..0000000 --- a/3rdParty/Boost/libs/regex/src/usinstances.cpp +++ /dev/null @@ -1,77 +0,0 @@ -/* - * - * Copyright (c) 1998-2002 - * John Maddock - * - * Use, modification and distribution are subject to the  - * Boost Software License, Version 1.0. (See accompanying file  - * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - * - */ - - /* -  *   LOCATION:    see http://www.boost.org for most recent version. -  *   FILE:        winstances.cpp -  *   VERSION:     see <boost/version.hpp> -  *   DESCRIPTION: regex unsigned short template instances (MSVC only). -  */ - -#define BOOST_REGEX_SOURCE - -#include <boost/detail/workaround.hpp> -#include <memory> -#include <string> - -#if defined(_DLL_CPPLIB) && !defined(_M_CEE_PURE) && defined(_NATIVE_WCHAR_T_DEFINED) \ -   && !(defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION) || defined(__STD_RWCOMPILER_H__) || defined(_RWSTD_VER)) -// -// This is a horrible workaround, but without declaring these symbols extern we get -// duplicate symbol errors when linking if the application is built without -// /Zc:wchar_t -// -#ifdef _CRTIMP2_PURE -#  define BOOST_REGEX_STDLIB_DECL _CRTIMP2_PURE -#else -#  define BOOST_REGEX_STDLIB_DECL _CRTIMP2 -#endif - -namespace std{ - -#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400) -template class BOOST_REGEX_STDLIB_DECL allocator<unsigned short>; -template class BOOST_REGEX_STDLIB_DECL _String_val<unsigned short, allocator<unsigned short> >; -template class BOOST_REGEX_STDLIB_DECL basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >; -#endif - -#if BOOST_WORKAROUND(BOOST_MSVC, > 1300) && BOOST_WORKAROUND(BOOST_MSVC, BOOST_TESTED_AT(1400)) -template<> BOOST_REGEX_STDLIB_DECL std::size_t __cdecl char_traits<unsigned short>::length(unsigned short const*); -#endif - -template BOOST_REGEX_STDLIB_DECL bool __cdecl operator==( -   const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&, -   const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&); -template BOOST_REGEX_STDLIB_DECL bool __cdecl operator==( -   const unsigned short *, -   const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&); -template BOOST_REGEX_STDLIB_DECL bool __cdecl operator==( -   const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&, -   const unsigned short *); -template BOOST_REGEX_STDLIB_DECL bool __cdecl operator<( -   const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&, -   const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&); -template BOOST_REGEX_STDLIB_DECL bool __cdecl operator>( -   const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&, -   const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&); -} -#endif - -#include <boost/regex/config.hpp> - -#if !defined(BOOST_NO_WREGEX) && defined(BOOST_REGEX_HAS_OTHER_WCHAR_T) && !defined(BOOST_REGEX_NO_EXTERNAL_TEMPLATES) -#define BOOST_REGEX_US_INSTANTIATE - -#include <boost/regex.hpp> - -#endif - - | 
 Swift
 Swift