2005-01-13 17:06:21 +00:00
|
|
|
/*
|
|
|
|
|
*
|
|
|
|
|
* Copyright (c) 1998-2002
|
2005-01-21 17:28:42 +00:00
|
|
|
* John Maddock
|
2005-01-13 17:06:21 +00:00
|
|
|
*
|
|
|
|
|
* 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/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
|
|
|
|
|
|
|
|
|
|
#ifdef _DLL_CPPLIB
|
2006-05-22 17:50:33 +00:00
|
|
|
#include <boost/detail/workaround.hpp>
|
2008-05-14 19:40:35 +00:00
|
|
|
#include <memory>
|
|
|
|
|
#include <string>
|
2006-04-15 17:21:19 +00:00
|
|
|
//
|
|
|
|
|
// This is a horrible workaround, without declaring these symbols extern we get
|
|
|
|
|
// duplicate symbol errors when linking if the application is built without
|
|
|
|
|
// /Zc:wchar_t
|
|
|
|
|
//
|
2005-01-13 17:06:21 +00:00
|
|
|
namespace std{
|
|
|
|
|
template _CRTIMP2 bool __cdecl operator==(
|
2005-07-12 10:08:11 +00:00
|
|
|
const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&,
|
|
|
|
|
const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&);
|
2005-01-13 17:06:21 +00:00
|
|
|
template _CRTIMP2 bool __cdecl operator==(
|
2005-07-12 10:08:11 +00:00
|
|
|
const unsigned short *,
|
|
|
|
|
const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&);
|
2005-01-13 17:06:21 +00:00
|
|
|
template _CRTIMP2 bool __cdecl operator==(
|
2005-07-12 10:08:11 +00:00
|
|
|
const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&,
|
|
|
|
|
const unsigned short *);
|
2005-01-13 17:06:21 +00:00
|
|
|
template _CRTIMP2 bool __cdecl operator<(
|
2005-07-12 10:08:11 +00:00
|
|
|
const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&,
|
|
|
|
|
const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&);
|
2005-01-13 17:06:21 +00:00
|
|
|
template _CRTIMP2 bool __cdecl operator>(
|
2005-07-12 10:08:11 +00:00
|
|
|
const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&,
|
|
|
|
|
const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&);
|
2006-08-12 17:51:24 +00:00
|
|
|
#if BOOST_WORKAROUND(BOOST_MSVC, > 1300) && BOOST_WORKAROUND(BOOST_MSVC, BOOST_TESTED_AT(1400))
|
2006-04-15 17:21:19 +00:00
|
|
|
template<> _CRTIMP2 std::size_t __cdecl char_traits<unsigned short>::length(unsigned short const*);
|
2006-05-22 17:50:33 +00:00
|
|
|
#endif
|
Merged revisions 44724,44726-44730,44738,44741-44742,44744,44746-44750,44752-44753,44755-44756,44758,44764,44766-44768,44771-44775,44777,44781-44787,44789-44807,44812-44816,44818-44826,44831,44837-44840,44842-44853,44857,44862,44864,44873,44877,44881-44883,44886-44887,44889,44891,44893,44895,44897,44900-44902,44904-44907,44919,44934,44941-44942,44946,44949-44954,44957,44962,44968-44973,44975,44977,44979-44984,44991-44993,44995,44997-45002,45004-45006,45010-45011,45019,45023,45025-45027 via svnmerge from
2008-05-02 17:44:19 +00:00
|
|
|
#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
|
|
|
|
|
template _CRTIMP2 allocator<unsigned short>::allocator();
|
|
|
|
|
#endif
|
2005-01-13 17:06:21 +00:00
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include <boost/regex.hpp>
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
2006-08-12 17:51:24 +00:00
|
|
|
|