Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:51:25

0001 /*
0002  *
0003  * Copyright (c) 1998-2002
0004  * John Maddock
0005  *
0006  * Use, modification and distribution are subject to the 
0007  * Boost Software License, Version 1.0. (See accompanying file 
0008  * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0009  *
0010  */
0011 
0012  /*
0013   *   LOCATION:    see http://www.boost.org for most recent version.
0014   *   FILE         regex_fwd.cpp
0015   *   VERSION      see <boost/version.hpp>
0016   *   DESCRIPTION: Forward declares boost::basic_regex<> and
0017   *                associated typedefs.
0018   */
0019 
0020 #ifndef BOOST_REGEX_FWD_HPP_INCLUDED
0021 #define BOOST_REGEX_FWD_HPP_INCLUDED
0022 
0023 #ifndef BOOST_REGEX_CONFIG_HPP
0024 #include <boost/regex/config.hpp>
0025 #endif
0026 
0027 //
0028 // define BOOST_REGEX_NO_FWD if this
0029 // header doesn't work!
0030 //
0031 #ifdef BOOST_REGEX_NO_FWD
0032 #  ifndef BOOST_RE_REGEX_HPP
0033 #     include <boost/regex.hpp>
0034 #  endif
0035 #else
0036 
0037 namespace boost{
0038 
0039 template <class charT>
0040 class cpp_regex_traits;
0041 template <class charT>
0042 struct c_regex_traits;
0043 template <class charT>
0044 class w32_regex_traits;
0045 
0046 #ifdef BOOST_REGEX_USE_WIN32_LOCALE
0047 template <class charT, class implementationT = w32_regex_traits<charT> >
0048 struct regex_traits;
0049 #elif defined(BOOST_REGEX_USE_CPP_LOCALE)
0050 template <class charT, class implementationT = cpp_regex_traits<charT> >
0051 struct regex_traits;
0052 #else
0053 template <class charT, class implementationT = c_regex_traits<charT> >
0054 struct regex_traits;
0055 #endif
0056 
0057 template <class charT, class traits = regex_traits<charT> >
0058 class basic_regex;
0059 
0060 typedef basic_regex<char, regex_traits<char> > regex;
0061 #ifndef BOOST_NO_WREGEX
0062 typedef basic_regex<wchar_t, regex_traits<wchar_t> > wregex;
0063 #endif
0064 
0065 } // namespace boost
0066 
0067 #endif  // BOOST_REGEX_NO_FWD
0068 
0069 #endif
0070 
0071 
0072 
0073