os/ossrv/ossrv_pub/boost_apis/boost/tr1/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/tr1/regex.hpp	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,142 @@
     1.4 +//  (C) Copyright John Maddock 2005.
     1.5 +//  Use, modification and distribution are subject to the
     1.6 +//  Boost Software License, Version 1.0. (See accompanying file
     1.7 +//  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
     1.8 +
     1.9 +#ifndef BOOST_TR1_REGEX_HPP_INCLUDED
    1.10 +#  define BOOST_TR1_REGEX_HPP_INCLUDED
    1.11 +#  include <boost/tr1/detail/config.hpp>
    1.12 +
    1.13 +#ifdef BOOST_HAS_TR1_REGEX
    1.14 +
    1.15 +#  include BOOST_TR1_HEADER(regex)
    1.16 +
    1.17 +#else
    1.18 +
    1.19 +#include <boost/regex.hpp>
    1.20 +
    1.21 +namespace std{ namespace tr1{
    1.22 +
    1.23 +// [7.5] Regex constants
    1.24 +namespace regex_constants {
    1.25 +
    1.26 +using ::boost::regex_constants::syntax_option_type;
    1.27 +using ::boost::regex_constants::icase;
    1.28 +using ::boost::regex_constants::nosubs;
    1.29 +using ::boost::regex_constants::optimize;
    1.30 +using ::boost::regex_constants::collate;
    1.31 +using ::boost::regex_constants::ECMAScript;
    1.32 +using ::boost::regex_constants::basic;
    1.33 +using ::boost::regex_constants::extended;
    1.34 +using ::boost::regex_constants::awk;
    1.35 +using ::boost::regex_constants::grep;
    1.36 +using ::boost::regex_constants::egrep;
    1.37 +
    1.38 +using ::boost::regex_constants::match_flag_type;
    1.39 +using ::boost::regex_constants::match_default;
    1.40 +using ::boost::regex_constants::match_not_bol;
    1.41 +using ::boost::regex_constants::match_not_eol;
    1.42 +using ::boost::regex_constants::match_not_bow;
    1.43 +using ::boost::regex_constants::match_not_eow;
    1.44 +using ::boost::regex_constants::match_any;
    1.45 +using ::boost::regex_constants::match_not_null;
    1.46 +using ::boost::regex_constants::match_continuous;
    1.47 +using ::boost::regex_constants::match_prev_avail;
    1.48 +using ::boost::regex_constants::format_default;
    1.49 +using ::boost::regex_constants::format_sed;
    1.50 +using ::boost::regex_constants::format_no_copy;
    1.51 +using ::boost::regex_constants::format_first_only;
    1.52 +
    1.53 +using ::boost::regex_constants::error_type;
    1.54 +using ::boost::regex_constants::error_collate;
    1.55 +using ::boost::regex_constants::error_ctype;
    1.56 +using ::boost::regex_constants::error_escape;
    1.57 +using ::boost::regex_constants::error_backref;
    1.58 +using ::boost::regex_constants::error_brack;
    1.59 +using ::boost::regex_constants::error_paren;
    1.60 +using ::boost::regex_constants::error_brace;
    1.61 +using ::boost::regex_constants::error_badbrace;
    1.62 +using ::boost::regex_constants::error_range;
    1.63 +using ::boost::regex_constants::error_space;
    1.64 +using ::boost::regex_constants::error_badrepeat;
    1.65 +using ::boost::regex_constants::error_complexity;
    1.66 +using ::boost::regex_constants::error_stack;
    1.67 +
    1.68 +} // namespace regex_constants
    1.69 +
    1.70 +// [7.6] Class regex_error
    1.71 +using ::boost::regex_error;
    1.72 +
    1.73 +// [7.7] Class template regex_traits
    1.74 +using ::boost::regex_traits;
    1.75 +
    1.76 +// [7.8] Class template basic_regex
    1.77 +using ::boost::basic_regex;
    1.78 +using ::boost::regex;
    1.79 +#ifndef BOOST_NO_WREGEX
    1.80 +using ::boost::wregex;
    1.81 +#endif
    1.82 +
    1.83 +#if !BOOST_WORKAROUND(__BORLANDC__, < 0x0582)
    1.84 +// [7.8.6] basic_regex swap
    1.85 +using ::boost::swap;
    1.86 +#endif
    1.87 +
    1.88 +// [7.9] Class template sub_match
    1.89 +using ::boost::sub_match;
    1.90 +
    1.91 +using ::boost::csub_match;
    1.92 +#ifndef BOOST_NO_WREGEX
    1.93 +using ::boost::wcsub_match;
    1.94 +#endif
    1.95 +using ::boost::ssub_match;
    1.96 +#ifndef BOOST_NO_WREGEX
    1.97 +using ::boost::wssub_match;
    1.98 +#endif
    1.99 +
   1.100 +// [7.10] Class template match_results
   1.101 +using ::boost::match_results;
   1.102 +using ::boost::cmatch;
   1.103 +#ifndef BOOST_NO_WREGEX
   1.104 +using ::boost::wcmatch;
   1.105 +#endif
   1.106 +using ::boost::smatch;
   1.107 +#ifndef BOOST_NO_WREGEX
   1.108 +using ::boost::wsmatch;
   1.109 +#endif
   1.110 +
   1.111 +using ::boost::regex_match;
   1.112 +
   1.113 +// [7.11.3] Function template regex_search
   1.114 +using ::boost::regex_search;
   1.115 +
   1.116 +// [7.11.4] Function template regex_replace
   1.117 +using ::boost::regex_replace;
   1.118 +
   1.119 +// [7.12.1] Class template regex_iterator
   1.120 +using ::boost::regex_iterator;
   1.121 +using ::boost::cregex_iterator;
   1.122 +#ifndef BOOST_NO_WREGEX
   1.123 +using ::boost::wcregex_iterator;
   1.124 +#endif
   1.125 +using ::boost::sregex_iterator;
   1.126 +#ifndef BOOST_NO_WREGEX
   1.127 +using ::boost::wsregex_iterator;
   1.128 +#endif
   1.129 +
   1.130 +// [7.12.2] Class template regex_token_iterator
   1.131 +using ::boost::regex_token_iterator;
   1.132 +using ::boost::cregex_token_iterator;
   1.133 +#ifndef BOOST_NO_WREGEX
   1.134 +using ::boost::wcregex_token_iterator;
   1.135 +#endif
   1.136 +using ::boost::sregex_token_iterator;
   1.137 +#ifndef BOOST_NO_WREGEX
   1.138 +using ::boost::wsregex_token_iterator;
   1.139 +#endif
   1.140 +
   1.141 +} } // namespaces
   1.142 +
   1.143 +#endif
   1.144 +
   1.145 +#endif