x
Yes
No
Do you want to visit DriveHQ English website?
首页
产品服务
价格
免费试用
下载客户端
关于我们
云文件服务
|
云备份服务
|
FTP服务
|
企业邮箱服务
|
网站托管
|
客户端软件
云文件服务
云备份服务
FTP服务
企业级邮箱服务
网站托管
客户端软件
detail_str.hpp - Hosted on DriveHQ Cloud IT Platform
返回上层目录
上传
下载
共享
发布
新建文件夹
新建文件
复制
剪切
删除
粘贴
评论
升级服务
路径: \\game3dprogramming\materials\GameFactory\GameFactoryDemo\references\boost_1_35_0\boost\range\detail\detail_str.hpp
旋转
特效
属性
历史版本
// Boost.Range library // // Copyright Thorsten Ottosen 2003-2004. Use, modification and // distribution is 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) // // For more information, see http://www.boost.org/libs/range/ // #ifndef BOOST_RANGE_DETAIL_DETAIL_STR_HPP #define BOOST_RANGE_DETAIL_DETAIL_STR_HPP #include
// BOOST_MSVC #include
namespace boost { namespace range_detail { // // iterator // template<> struct range_iterator_
{ template< typename T > struct pts { typedef BOOST_RANGE_DEDUCED_TYPENAME remove_extent
::type* type; }; }; template<> struct range_iterator_
{ template< typename S > struct pts { typedef char* type; }; }; template<> struct range_iterator_
{ template< typename S > struct pts { typedef const char* type; }; }; template<> struct range_iterator_
{ template< typename S > struct pts { typedef wchar_t* type; }; }; template<> struct range_iterator_
{ template< typename S > struct pts { typedef const wchar_t* type; }; }; // // const iterator // template<> struct range_const_iterator_
{ template< typename T > struct pts { typedef const BOOST_RANGE_DEDUCED_TYPENAME remove_extent
::type* type; }; }; template<> struct range_const_iterator_
{ template< typename S > struct pts { typedef const char* type; }; }; template<> struct range_const_iterator_
{ template< typename S > struct pts { typedef const char* type; }; }; template<> struct range_const_iterator_
{ template< typename S > struct pts { typedef const wchar_t* type; }; }; template<> struct range_const_iterator_
{ template< typename S > struct pts { typedef const wchar_t* type; }; }; } } #include
#include
#include
#include
#include
namespace boost { namespace range_detail { // // str_begin() // template<> struct range_begin
{ static char* fun( char* s ) { return s; } }; template<> struct range_begin
{ static const char* fun( const char* s ) { return s; } }; template<> struct range_begin
{ static wchar_t* fun( wchar_t* s ) { return s; } }; template<> struct range_begin
{ static const wchar_t* fun( const wchar_t* s ) { return s; } }; template< typename C > inline BOOST_RANGE_DEDUCED_TYPENAME range_iterator
::type str_begin( C& c ) { return range_detail::range_begin< BOOST_RANGE_DEDUCED_TYPENAME range_detail::range
::type >::fun( c ); } // // str_end() // template<> struct range_end
{ template< typename T, std::size_t sz > static T* fun( T BOOST_RANGE_ARRAY_REF()[sz] ) { return boost::range_detail::array_end( boost_range_array ); } }; template<> struct range_end
{ template< typename T, std::size_t sz > static T* fun( T BOOST_RANGE_ARRAY_REF()[sz] ) { return boost::range_detail::array_end( boost_range_array ); } }; template<> struct range_end
{ static char* fun( char* s ) { return boost::range_detail::str_end( s ); } }; template<> struct range_end
{ static const char* fun( const char* s ) { return boost::range_detail::str_end( s ); } }; template<> struct range_end
{ static wchar_t* fun( wchar_t* s ) { return boost::range_detail::str_end( s ); } }; template<> struct range_end
{ static const wchar_t* fun( const wchar_t* s ) { return boost::range_detail::str_end( s ); } }; template< typename C > inline BOOST_RANGE_DEDUCED_TYPENAME range_iterator
::type str_end( C& c ) { return range_detail::range_end< BOOST_RANGE_DEDUCED_TYPENAME range_detail::range
::type >::fun( c ); } // // size_type // template<> struct range_size_type_
{ template< typename A > struct pts { typedef std::size_t type; }; }; template<> struct range_size_type_
{ template< typename S > struct pts { typedef std::size_t type; }; }; template<> struct range_size_type_
{ template< typename S > struct pts { typedef std::size_t type; }; }; template<> struct range_size_type_
{ template< typename S > struct pts { typedef std::size_t type; }; }; template<> struct range_size_type_
{ template< typename S > struct pts { typedef std::size_t type; }; }; // // value_type // template<> struct range_value_type_
{ template< typename T > struct pts { typedef char type; }; }; template<> struct range_value_type_
{ template< typename S > struct pts { typedef char type; }; }; template<> struct range_value_type_
{ template< typename S > struct pts { typedef const char type; }; }; template<> struct range_value_type_
{ template< typename S > struct pts { typedef wchar_t type; }; }; template<> struct range_value_type_
{ template< typename S > struct pts { typedef const wchar_t type; }; }; } // namespace 'range_detail' } // namespace 'boost' #endif
detail_str.hpp
网页地址
文件地址
上一页
7/20
下一页
下载
( 8 KB )
Comments
Total ratings:
0
Average rating:
无评论
of 10
Would you like to comment?
Join now
, or
Logon
if you are already a member.