os/ossrv/ossrv_pub/boost_apis/boost/regex/v4/regex.hpp
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/ossrv/ossrv_pub/boost_apis/boost/regex/v4/regex.hpp	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,202 @@
     1.4 +/*
     1.5 + *
     1.6 + * Copyright (c) 1998-2002
     1.7 + * John Maddock
     1.8 + *
     1.9 + * Use, modification and distribution are subject to the 
    1.10 + * Boost Software License, Version 1.0. (See accompanying file 
    1.11 + * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
    1.12 + *
    1.13 + */
    1.14 +
    1.15 + /*
    1.16 +  *   LOCATION:    see http://www.boost.org for most recent version.
    1.17 +  *   FILE         regex.cpp
    1.18 +  *   VERSION      see <boost/version.hpp>
    1.19 +  *   DESCRIPTION: Declares boost::basic_regex<> and associated
    1.20 +  *                functions and classes. This header is the main
    1.21 +  *                entry point for the template regex code.
    1.22 +  */
    1.23 +
    1.24 +#ifndef BOOST_RE_REGEX_HPP_INCLUDED
    1.25 +#define BOOST_RE_REGEX_HPP_INCLUDED
    1.26 +
    1.27 +#ifdef __cplusplus
    1.28 +
    1.29 +// what follows is all C++ don't include in C builds!!
    1.30 +
    1.31 +#ifndef BOOST_REGEX_CONFIG_HPP
    1.32 +#include <boost/regex/config.hpp>
    1.33 +#endif
    1.34 +#ifndef BOOST_REGEX_WORKAROUND_HPP
    1.35 +#include <boost/regex/v4/regex_workaround.hpp>
    1.36 +#endif
    1.37 +
    1.38 +#ifndef BOOST_REGEX_FWD_HPP
    1.39 +#include <boost/regex_fwd.hpp>
    1.40 +#endif
    1.41 +#ifndef BOOST_REGEX_TRAITS_HPP
    1.42 +#include <boost/regex/regex_traits.hpp>
    1.43 +#endif
    1.44 +#ifndef BOOST_REGEX_RAW_BUFFER_HPP
    1.45 +#include <boost/regex/v4/error_type.hpp>
    1.46 +#endif
    1.47 +#ifndef BOOST_REGEX_V4_MATCH_FLAGS
    1.48 +#include <boost/regex/v4/match_flags.hpp>
    1.49 +#endif
    1.50 +#ifndef BOOST_REGEX_RAW_BUFFER_HPP
    1.51 +#include <boost/regex/v4/regex_raw_buffer.hpp>
    1.52 +#endif
    1.53 +#ifndef BOOST_RE_PAT_EXCEPT_HPP
    1.54 +#include <boost/regex/pattern_except.hpp>
    1.55 +#endif
    1.56 +
    1.57 +#ifndef BOOST_REGEX_V4_CHAR_REGEX_TRAITS_HPP
    1.58 +#include <boost/regex/v4/char_regex_traits.hpp>
    1.59 +#endif
    1.60 +#ifndef BOOST_REGEX_V4_STATES_HPP
    1.61 +#include <boost/regex/v4/states.hpp>
    1.62 +#endif
    1.63 +#ifndef BOOST_REGEX_V4_REGBASE_HPP
    1.64 +#include <boost/regex/v4/regbase.hpp>
    1.65 +#endif
    1.66 +#ifndef BOOST_REGEX_V4_ITERATOR_TRAITS_HPP
    1.67 +#include <boost/regex/v4/iterator_traits.hpp>
    1.68 +#endif
    1.69 +#ifndef BOOST_REGEX_V4_BASIC_REGEX_HPP
    1.70 +#include <boost/regex/v4/basic_regex.hpp>
    1.71 +#endif
    1.72 +#ifndef BOOST_REGEX_V4_BASIC_REGEX_CREATOR_HPP
    1.73 +#include <boost/regex/v4/basic_regex_creator.hpp>
    1.74 +#endif
    1.75 +#ifndef BOOST_REGEX_V4_BASIC_REGEX_PARSER_HPP
    1.76 +#include <boost/regex/v4/basic_regex_parser.hpp>
    1.77 +#endif
    1.78 +#ifndef BOOST_REGEX_V4_SUB_MATCH_HPP
    1.79 +#include <boost/regex/v4/sub_match.hpp>
    1.80 +#endif
    1.81 +#ifndef BOOST_REGEX_FORMAT_HPP
    1.82 +#include <boost/regex/v4/regex_format.hpp>
    1.83 +#endif
    1.84 +#ifndef BOOST_REGEX_V4_MATCH_RESULTS_HPP
    1.85 +#include <boost/regex/v4/match_results.hpp>
    1.86 +#endif
    1.87 +#ifndef BOOST_REGEX_V4_PROTECTED_CALL_HPP
    1.88 +#include <boost/regex/v4/protected_call.hpp>
    1.89 +#endif
    1.90 +#ifndef BOOST_REGEX_MATCHER_HPP
    1.91 +#include <boost/regex/v4/perl_matcher.hpp>
    1.92 +#endif
    1.93 +//
    1.94 +// template instances:
    1.95 +//
    1.96 +#define BOOST_REGEX_CHAR_T char
    1.97 +#ifdef BOOST_REGEX_NARROW_INSTANTIATE
    1.98 +#  define BOOST_REGEX_INSTANTIATE
    1.99 +#endif
   1.100 +#include <boost/regex/v4/instances.hpp>
   1.101 +#undef BOOST_REGEX_CHAR_T
   1.102 +#ifdef BOOST_REGEX_INSTANTIATE
   1.103 +#  undef BOOST_REGEX_INSTANTIATE
   1.104 +#endif
   1.105 +
   1.106 +#ifndef BOOST_NO_WREGEX
   1.107 +#define BOOST_REGEX_CHAR_T wchar_t
   1.108 +#ifdef BOOST_REGEX_WIDE_INSTANTIATE
   1.109 +#  define BOOST_REGEX_INSTANTIATE
   1.110 +#endif
   1.111 +#include <boost/regex/v4/instances.hpp>
   1.112 +#undef BOOST_REGEX_CHAR_T
   1.113 +#ifdef BOOST_REGEX_INSTANTIATE
   1.114 +#  undef BOOST_REGEX_INSTANTIATE
   1.115 +#endif
   1.116 +#endif
   1.117 +
   1.118 +#if !defined(BOOST_NO_WREGEX) && defined(BOOST_REGEX_HAS_OTHER_WCHAR_T)
   1.119 +#define BOOST_REGEX_CHAR_T unsigned short
   1.120 +#ifdef BOOST_REGEX_US_INSTANTIATE
   1.121 +#  define BOOST_REGEX_INSTANTIATE
   1.122 +#endif
   1.123 +#include <boost/regex/v4/instances.hpp>
   1.124 +#undef BOOST_REGEX_CHAR_T
   1.125 +#ifdef BOOST_REGEX_INSTANTIATE
   1.126 +#  undef BOOST_REGEX_INSTANTIATE
   1.127 +#endif
   1.128 +#endif
   1.129 +
   1.130 +
   1.131 +namespace boost{
   1.132 +#ifdef BOOST_REGEX_NO_FWD
   1.133 +typedef basic_regex<char, regex_traits<char> > regex;
   1.134 +#ifndef BOOST_NO_WREGEX
   1.135 +typedef basic_regex<wchar_t, regex_traits<wchar_t> > wregex;
   1.136 +#endif
   1.137 +#endif
   1.138 +
   1.139 +typedef match_results<const char*> cmatch;
   1.140 +typedef match_results<std::string::const_iterator> smatch;
   1.141 +#ifndef BOOST_NO_WREGEX
   1.142 +typedef match_results<const wchar_t*> wcmatch;
   1.143 +typedef match_results<std::wstring::const_iterator> wsmatch;
   1.144 +#endif
   1.145 +
   1.146 +} // namespace boost
   1.147 +#ifndef BOOST_REGEX_MATCH_HPP
   1.148 +#include <boost/regex/v4/regex_match.hpp>
   1.149 +#endif
   1.150 +#ifndef BOOST_REGEX_V4_REGEX_SEARCH_HPP
   1.151 +#include <boost/regex/v4/regex_search.hpp>
   1.152 +#endif
   1.153 +#ifndef BOOST_REGEX_ITERATOR_HPP
   1.154 +#include <boost/regex/v4/regex_iterator.hpp>
   1.155 +#endif
   1.156 +#ifndef BOOST_REGEX_TOKEN_ITERATOR_HPP
   1.157 +#include <boost/regex/v4/regex_token_iterator.hpp>
   1.158 +#endif
   1.159 +#ifndef BOOST_REGEX_V4_REGEX_GREP_HPP
   1.160 +#include <boost/regex/v4/regex_grep.hpp>
   1.161 +#endif
   1.162 +#ifndef BOOST_REGEX_V4_REGEX_REPLACE_HPP
   1.163 +#include <boost/regex/v4/regex_replace.hpp>
   1.164 +#endif
   1.165 +#ifndef BOOST_REGEX_V4_REGEX_MERGE_HPP
   1.166 +#include <boost/regex/v4/regex_merge.hpp>
   1.167 +#endif
   1.168 +#ifndef BOOST_REGEX_SPLIT_HPP
   1.169 +#include <boost/regex/v4/regex_split.hpp>
   1.170 +#endif
   1.171 +
   1.172 +#endif  // __cplusplus
   1.173 +
   1.174 +#endif  // include
   1.175 +
   1.176 +
   1.177 +
   1.178 +
   1.179 +
   1.180 +
   1.181 +
   1.182 +
   1.183 +
   1.184 +
   1.185 +
   1.186 +
   1.187 +
   1.188 +
   1.189 +
   1.190 +
   1.191 +
   1.192 +
   1.193 +
   1.194 +
   1.195 +
   1.196 +
   1.197 +
   1.198 +
   1.199 +
   1.200 +
   1.201 +
   1.202 +
   1.203 +
   1.204 +
   1.205 +