1 | /* |
---|
2 | * |
---|
3 | * Copyright (c) 1998-2002 |
---|
4 | * John Maddock |
---|
5 | * |
---|
6 | * Use, modification and distribution are subject to the |
---|
7 | * Boost Software License, Version 1.0. (See accompanying file |
---|
8 | * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
---|
9 | * |
---|
10 | */ |
---|
11 | |
---|
12 | /* |
---|
13 | * LOCATION: see http://www.boost.org for most recent version. |
---|
14 | * FILE: winstances.cpp |
---|
15 | * VERSION: see <boost/version.hpp> |
---|
16 | * DESCRIPTION: regex unsigned short template instances (MSVC only). |
---|
17 | */ |
---|
18 | |
---|
19 | #define BOOST_REGEX_SOURCE |
---|
20 | |
---|
21 | #include <boost/regex/config.hpp> |
---|
22 | |
---|
23 | #if !defined(BOOST_NO_WREGEX) && defined(BOOST_REGEX_HAS_OTHER_WCHAR_T) && !defined(BOOST_REGEX_NO_EXTERNAL_TEMPLATES) |
---|
24 | #define BOOST_REGEX_US_INSTANTIATE |
---|
25 | |
---|
26 | #ifdef _DLL_CPPLIB |
---|
27 | namespace std{ |
---|
28 | template _CRTIMP2 bool __cdecl operator==( |
---|
29 | const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&, |
---|
30 | const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&); |
---|
31 | template _CRTIMP2 bool __cdecl operator==( |
---|
32 | const unsigned short *, |
---|
33 | const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&); |
---|
34 | template _CRTIMP2 bool __cdecl operator==( |
---|
35 | const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&, |
---|
36 | const unsigned short *); |
---|
37 | template _CRTIMP2 bool __cdecl operator<( |
---|
38 | const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&, |
---|
39 | const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&); |
---|
40 | template _CRTIMP2 bool __cdecl operator>( |
---|
41 | const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&, |
---|
42 | const basic_string<unsigned short, char_traits<unsigned short>, allocator<unsigned short> >&); |
---|
43 | } |
---|
44 | #endif |
---|
45 | |
---|
46 | |
---|
47 | #include <boost/regex.hpp> |
---|
48 | |
---|
49 | #endif |
---|
50 | |
---|