]> git.lyx.org Git - lyx.git/blob - boost/libs/regex/src/regex.cpp
add the boost signals librarys source files, and compile the libboostsignals.la library
[lyx.git] / boost / libs / regex / src / regex.cpp
1 /*
2  *
3  * Copyright (c) 1998-2002
4  * Dr John Maddock
5  *
6  * Permission to use, copy, modify, distribute and sell this software
7  * and its documentation for any purpose is hereby granted without fee,
8  * provided that the above copyright notice appear in all copies and
9  * that both that copyright notice and this permission notice appear
10  * in supporting documentation.  Dr John Maddock makes no representations
11  * about the suitability of this software for any purpose.
12  * It is provided "as is" without express or implied warranty.
13  *
14  */
15
16  /*
17   *   LOCATION:    see http://www.boost.org for most recent version.
18   *   FILE:        regex.cpp
19   *   VERSION:     see <boost/version.hpp>
20   *   DESCRIPTION: Misc boost::regbase member funnctions.
21   */
22
23
24 #define BOOST_REGEX_SOURCE
25
26 #include <boost/regex.hpp>
27
28
29 namespace boost{
30
31
32 //
33 // fix: these are declared out of line here to ensure
34 // that dll builds contain the Virtual table for these
35 // types - this ensures that exceptions can be thrown
36 // from the dll and caught in an exe.
37 bad_pattern::~bad_pattern() throw() {}
38 bad_expression::~bad_expression() throw() {}
39
40 regbase::regbase()
41    : _flags(regbase::failbit){}
42
43 regbase::regbase(const regbase& b)
44    : _flags(b._flags){}
45
46 } // namespace boost
47
48 #if defined(BOOST_RE_USE_VCL) && defined(BOOST_REGEX_BUILD_DLL)
49
50 int WINAPI DllEntryPoint(HINSTANCE , unsigned long , void*)
51 {
52    return 1;
53 }
54 #endif
55
56
57
58
59
60