x
Yes
No
Do you want to visit DriveHQ English website?
首页
产品服务
价格
免费试用
下载客户端
关于我们
云文件服务
|
云备份服务
|
FTP服务
|
企业邮箱服务
|
网站托管
|
客户端软件
云文件服务
云备份服务
FTP服务
企业级邮箱服务
网站托管
客户端软件
iterator_traits.hpp - Hosted on DriveHQ Cloud IT Platform
返回上层目录
上传
下载
共享
发布
新建文件夹
新建文件
复制
剪切
删除
粘贴
评论
升级服务
路径: \\game3dprogramming\materials\GameFactory\GameFactoryDemo\references\boost_1_35_0\boost\regex\v4\iterator_traits.hpp
旋转
特效
属性
历史版本
/* * * Copyright (c) 1998-2002 * John Maddock * * 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. * FILE iterator_traits.cpp * VERSION see
* DESCRIPTION: Declares iterator traits workarounds. */ #ifndef BOOST_REGEX_V4_ITERATOR_TRAITS_HPP #define BOOST_REGEX_V4_ITERATOR_TRAITS_HPP #ifdef BOOST_MSVC #pragma warning(push) #pragma warning(disable: 4103) #endif #ifdef BOOST_HAS_ABI_HEADERS # include BOOST_ABI_PREFIX #endif #ifdef BOOST_MSVC #pragma warning(pop) #endif namespace boost{ namespace re_detail{ #if defined(BOOST_NO_STD_ITERATOR_TRAITS) || defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) template
struct regex_iterator_traits { typedef typename T::iterator_category iterator_category; typedef typename T::value_type value_type; #if !defined(BOOST_NO_STD_ITERATOR) typedef typename T::difference_type difference_type; typedef typename T::pointer pointer; typedef typename T::reference reference; #else typedef std::ptrdiff_t difference_type; typedef value_type* pointer; typedef value_type& reference; #endif }; template
struct pointer_iterator_traits { typedef std::ptrdiff_t difference_type; typedef T value_type; typedef T* pointer; typedef T& reference; typedef std::random_access_iterator_tag iterator_category; }; template
struct const_pointer_iterator_traits { typedef std::ptrdiff_t difference_type; typedef T value_type; typedef const T* pointer; typedef const T& reference; typedef std::random_access_iterator_tag iterator_category; }; template<> struct regex_iterator_traits
: pointer_iterator_traits
{}; template<> struct regex_iterator_traits
: const_pointer_iterator_traits
{}; template<> struct regex_iterator_traits
: pointer_iterator_traits
{}; template<> struct regex_iterator_traits
: const_pointer_iterator_traits
{}; // // the follwoing are needed for ICU support: // template<> struct regex_iterator_traits
: pointer_iterator_traits
{}; template<> struct regex_iterator_traits
: const_pointer_iterator_traits
{}; template<> struct regex_iterator_traits
: pointer_iterator_traits
{}; template<> struct regex_iterator_traits
: const_pointer_iterator_traits
{}; #ifdef BOOST_REGEX_HAS_OTHER_WCHAR_T template<> struct regex_iterator_traits
: pointer_iterator_traits
{}; template<> struct regex_iterator_traits
: const_pointer_iterator_traits
{}; #endif #if defined(__SGI_STL_PORT) && defined(__STL_DEBUG) template<> struct regex_iterator_traits
: pointer_iterator_traits
{}; template<> struct regex_iterator_traits
: const_pointer_iterator_traits
{}; #ifndef BOOST_NO_STD_WSTRING template<> struct regex_iterator_traits
: pointer_iterator_traits
{}; template<> struct regex_iterator_traits
: const_pointer_iterator_traits
{}; #endif // BOOST_NO_WSTRING #endif // stport #else template
struct regex_iterator_traits : public std::iterator_traits
{}; #endif } // namespace re_detail } // namespace boost #ifdef BOOST_MSVC #pragma warning(push) #pragma warning(disable: 4103) #endif #ifdef BOOST_HAS_ABI_HEADERS # include BOOST_ABI_SUFFIX #endif #ifdef BOOST_MSVC #pragma warning(pop) #endif #endif
iterator_traits.hpp
网页地址
文件地址
上一页
12/43
下一页
下载
( 3 KB )
Comments
Total ratings:
0
Average rating:
无评论
of 10
Would you like to comment?
Join now
, or
Logon
if you are already a member.