X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=boost%2Fboost%2Fregex_fwd.hpp;h=2ee4a2495fef1c8ffb6b88a55f00fb7d184e878a;hb=43c09d723435a5b203f2ac0c39e2086de836b386;hp=679ad94559392e7ae43d248b4b356e21d1cb8115;hpb=7cdb5279835b7ae9fe0fe0372f9fed7524f39da6;p=lyx.git diff --git a/boost/boost/regex_fwd.hpp b/boost/boost/regex_fwd.hpp index 679ad94559..2ee4a2495f 100644 --- a/boost/boost/regex_fwd.hpp +++ b/boost/boost/regex_fwd.hpp @@ -1,67 +1,33 @@ /* * * Copyright (c) 1998-2002 - * Dr John Maddock + * John Maddock * - * Permission to use, copy, modify, distribute and sell this software - * and its documentation for any purpose is hereby granted without fee, - * provided that the above copyright notice appear in all copies and - * that both that copyright notice and this permission notice appear - * in supporting documentation. Dr John Maddock makes no representations - * about the suitability of this software for any purpose. - * It is provided "as is" without express or implied warranty. + * Use, modification and distribution are subject to the + * Boost Software License, Version 1.0. (See accompanying file + * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) * */ /* - * LOCATION: see http://www.boost.org for most recent version. + * LOCATION: see http://www.boost.org/libs/regex for documentation. * FILE regex_fwd.cpp * VERSION see - * DESCRIPTION: Forward declares boost::reg_expression<> and + * DESCRIPTION: Forward declares boost::basic_regex<> and * associated typedefs. */ #ifndef BOOST_REGEX_FWD_HPP #define BOOST_REGEX_FWD_HPP -#include -#include - -// -// define BOOST_REGEX_NO_FWD if this -// header doesn't work! -// -#ifdef BOOST_REGEX_NO_FWD -# ifndef BOOST_RE_REGEX_HPP -# include -# endif -#else - -// -// If there isn't good enough wide character support then there will -// be no wide character regular expressions: -// -#if (defined(BOOST_NO_CWCHAR) || defined(BOOST_NO_CWCTYPE) || defined(BOOST_NO_STD_WSTRING)) && !defined(BOOST_NO_WREGEX) -# define BOOST_NO_WREGEX +#ifndef BOOST_REGEX_CONFIG_HPP +#include #endif -namespace boost{ - -template -class regex_traits; +#include -template , class Allocator = BOOST_DEFAULT_ALLOCATOR(charT) > -class reg_expression; - -typedef reg_expression, BOOST_DEFAULT_ALLOCATOR(char) > regex; -#ifndef BOOST_NO_WREGEX -typedef reg_expression, BOOST_DEFAULT_ALLOCATOR(wchar_t) > wregex; #endif -} // namespace boost - -#endif // BOOST_REGEX_NO_FWD -#endif