2003-05-17 11:45:48 +00:00
|
|
|
/*
|
|
|
|
*
|
|
|
|
* Copyright (c) 1998-2002
|
|
|
|
* Dr John Maddock
|
|
|
|
*
|
2003-12-01 11:52:28 +00:00
|
|
|
* Use, modification and distribution are subject to the
|
|
|
|
* Boost Software License, Version 1.0. (See accompanying file
|
2003-09-30 13:02:51 +00:00
|
|
|
* LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
2003-05-17 11:45:48 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* LOCATION: see http://www.boost.org for most recent version.
|
|
|
|
* FILE instances.cpp
|
|
|
|
* VERSION see <boost/version.hpp>
|
|
|
|
* DESCRIPTION: Defines those template instances that are placed in the
|
|
|
|
* library rather than in the users object files.
|
|
|
|
*/
|
|
|
|
|
|
|
|
//
|
|
|
|
// note no include guard, we may include this multiple times:
|
|
|
|
//
|
|
|
|
#ifndef BOOST_REGEX_NO_EXTERNAL_TEMPLATES
|
|
|
|
|
|
|
|
namespace boost{
|
|
|
|
|
|
|
|
//
|
|
|
|
// this header can be included multiple times, each time with
|
|
|
|
// a different character type, BOOST_REGEX_CHAR_T must be defined
|
|
|
|
// first:
|
|
|
|
//
|
|
|
|
#ifndef BOOST_REGEX_CHAR_T
|
|
|
|
# error "BOOST_REGEX_CHAR_T not defined"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
//
|
|
|
|
// what follows is compiler specific:
|
|
|
|
//
|
|
|
|
|
2003-12-01 11:52:28 +00:00
|
|
|
#if defined(__BORLANDC__) && (__BORLANDC__ < 0x600)
|
2003-05-17 11:45:48 +00:00
|
|
|
|
2003-08-14 10:22:05 +00:00
|
|
|
#ifdef BOOST_HAS_ABI_HEADERS
|
2003-08-12 11:23:02 +00:00
|
|
|
# include BOOST_ABI_PREFIX
|
|
|
|
#endif
|
2003-05-17 11:45:48 +00:00
|
|
|
|
|
|
|
# ifndef BOOST_REGEX_INSTANTIATE
|
|
|
|
# pragma option push -Jgx
|
|
|
|
# endif
|
|
|
|
|
2005-01-13 17:06:21 +00:00
|
|
|
template class BOOST_REGEX_DECL basic_regex< BOOST_REGEX_CHAR_T >;
|
2003-05-17 11:45:48 +00:00
|
|
|
|
|
|
|
# ifndef BOOST_REGEX_INSTANTIATE
|
|
|
|
# pragma option pop
|
|
|
|
# endif
|
|
|
|
|
2003-08-14 10:22:05 +00:00
|
|
|
#ifdef BOOST_HAS_ABI_HEADERS
|
2003-08-12 11:23:02 +00:00
|
|
|
# include BOOST_ABI_SUFFIX
|
|
|
|
#endif
|
2003-05-17 11:45:48 +00:00
|
|
|
|
2005-01-13 17:06:21 +00:00
|
|
|
#elif defined(BOOST_MSVC) || defined(BOOST_INTEL) || (defined(__GNUC__) && (__GNUC__ >= 3))
|
2003-05-17 11:45:48 +00:00
|
|
|
|
|
|
|
# ifndef BOOST_REGEX_INSTANTIATE
|
2004-11-29 13:50:17 +00:00
|
|
|
# ifdef __GNUC__
|
|
|
|
# define template __extension__ extern template
|
|
|
|
# else
|
|
|
|
# define template extern template
|
|
|
|
# endif
|
2003-05-17 11:45:48 +00:00
|
|
|
# endif
|
|
|
|
|
2003-05-20 11:28:47 +00:00
|
|
|
# ifdef BOOST_MSVC
|
|
|
|
# pragma warning(push)
|
|
|
|
# pragma warning(disable : 4251 4231 4660)
|
2003-05-17 11:45:48 +00:00
|
|
|
# endif
|
|
|
|
|
2005-01-13 17:06:21 +00:00
|
|
|
template class BOOST_REGEX_DECL basic_regex< BOOST_REGEX_CHAR_T >;
|
|
|
|
#if !BOOST_WORKAROUND(BOOST_MSVC, <= 1200)
|
|
|
|
template class BOOST_REGEX_DECL match_results< const BOOST_REGEX_CHAR_T* >;
|
|
|
|
#endif
|
|
|
|
#ifndef BOOST_NO_STD_ALLOCATOR
|
|
|
|
template class BOOST_REGEX_DECL ::boost::re_detail::perl_matcher<BOOST_REGEX_CHAR_T const *, match_results< const BOOST_REGEX_CHAR_T* >::allocator_type, boost::regex_traits<BOOST_REGEX_CHAR_T > >;
|
|
|
|
#endif
|
|
|
|
#if !(defined(BOOST_DINKUMWARE_STDLIB) && (BOOST_DINKUMWARE_STDLIB <= 1))
|
|
|
|
#if !BOOST_WORKAROUND(BOOST_MSVC, <= 1200)
|
|
|
|
template class BOOST_REGEX_DECL match_results< std::basic_string<BOOST_REGEX_CHAR_T>::const_iterator >;
|
|
|
|
#endif
|
|
|
|
#ifndef BOOST_NO_STD_ALLOCATOR
|
|
|
|
template class BOOST_REGEX_DECL ::boost::re_detail::perl_matcher< std::basic_string<BOOST_REGEX_CHAR_T>::const_iterator, match_results< std::basic_string<BOOST_REGEX_CHAR_T>::const_iterator >::allocator_type, boost::regex_traits<BOOST_REGEX_CHAR_T > >;
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
2003-05-17 11:45:48 +00:00
|
|
|
|
2003-05-20 11:28:47 +00:00
|
|
|
# ifdef BOOST_MSVC
|
|
|
|
# pragma warning(pop)
|
2003-05-17 11:45:48 +00:00
|
|
|
# endif
|
|
|
|
|
|
|
|
# ifdef template
|
|
|
|
# undef template
|
|
|
|
# endif
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
} // namespace boost
|
|
|
|
|
|
|
|
#endif // BOOST_REGEX_NO_EXTERNAL_TEMPLATES
|
2003-12-01 11:52:28 +00:00
|
|
|
|
2003-05-17 11:45:48 +00:00
|
|
|
|
|
|
|
|
2003-09-30 13:02:51 +00:00
|
|
|
|