亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? classification.hpp

?? C++的一個好庫。。。現(xiàn)在很流行
?? HPP
字號:
//  Boost string_algo library classification.hpp header file  ---------------------------//

//  Copyright Pavol Droba 2002-2003. 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)

//  See http://www.boost.org for updates, documentation, and revision history.

#ifndef BOOST_STRING_CLASSIFICATION_HPP
#define BOOST_STRING_CLASSIFICATION_HPP

#include <algorithm>
#include <locale>
#include <boost/range/value_type.hpp>
#include <boost/algorithm/string/detail/classification.hpp>
#include <boost/algorithm/string/predicate_facade.hpp>

/*! \file
    Classification predicates are included in the library to give 
    some more convenience when using algorithms like \c trim() and \c all(). 
    They wrap functionality of STL classification functions ( e.g. \c std::isspace() )
    into generic functors. 
*/

namespace boost {
    namespace algorithm {

//  classification functor generator -------------------------------------//

        //! is_classified predicate
        /*!
            Construct the \c is_classified predicate. This predicate holds if the input is
            of specified \c std::ctype category.

            \param Type A \c std::ctype category
            \param Loc A locale used for classification
            \return An instance of the \c is_classified predicate 
        */
        inline detail::is_classifiedF
        is_classified(std::ctype_base::mask Type, const std::locale& Loc=std::locale())
        {
            return detail::is_classifiedF(Type, Loc);
        }

        //! is_space predicate
        /*!
            Construct the \c is_classified predicate for the \c ctype_base::space category.   

            \param Loc A locale used for classification
            \return An instance of the \c is_classified predicate
        */
        inline detail::is_classifiedF 
        is_space(const std::locale& Loc=std::locale())
        {
            return detail::is_classifiedF(std::ctype_base::space, Loc);
        }

        //! is_alnum predicate
        /*!
            Construct the \c is_classified predicate for the \c ctype_base::alnum category.   

            \param Loc A locale used for classification
            \return An instance of the \c is_classified predicate 
        */
        inline detail::is_classifiedF 
        is_alnum(const std::locale& Loc=std::locale())
        {
            return detail::is_classifiedF(std::ctype_base::alnum, Loc);
        }

        //! is_alpha predicate
        /*!
            Construct the \c is_classified predicate for the \c ctype_base::alpha category.   

            \param Loc A locale used for classification
            \return An instance of the \c is_classified predicate 
        */
        inline detail::is_classifiedF 
        is_alpha(const std::locale& Loc=std::locale())
        {
            return detail::is_classifiedF(std::ctype_base::alpha, Loc);
        }

        //! is_cntrl predicate
        /*!
            Construct the \c is_classified predicate for the \c ctype_base::cntrl category.   

            \param Loc A locale used for classification
            \return An instance of the \c is_classified predicate 
        */
        inline detail::is_classifiedF 
        is_cntrl(const std::locale& Loc=std::locale())
        {
            return detail::is_classifiedF(std::ctype_base::cntrl, Loc);
        }

        //! is_digit predicate
        /*!
            Construct the \c is_classified predicate for the \c ctype_base::digit category.   

            \param Loc A locale used for classification
            \return An instance of the \c is_classified predicate 
        */
        inline detail::is_classifiedF 
        is_digit(const std::locale& Loc=std::locale())
        {
            return detail::is_classifiedF(std::ctype_base::digit, Loc);
        }

        //! is_graph predicate
        /*!
            Construct the \c is_classified predicate for the \c ctype_base::graph category.   

            \param Loc A locale used for classification
            \return An instance of the \c is_classified predicate 
        */
        inline detail::is_classifiedF
        is_graph(const std::locale& Loc=std::locale())
        {
            return detail::is_classifiedF(std::ctype_base::graph, Loc);
        }

        //! is_lower predicate
        /*!
            Construct the \c is_classified predicate for the \c ctype_base::lower category.   

            \param Loc A locale used for classification
            \return An instance of \c is_classified predicate 
        */
        inline detail::is_classifiedF 
        is_lower(const std::locale& Loc=std::locale())
        {
            return detail::is_classifiedF(std::ctype_base::lower, Loc);
        }

        //! is_print predicate
        /*!
            Construct the \c is_classified predicate for the \c ctype_base::print category.   

            \param Loc A locale used for classification
            \return An instance of the \c is_classified predicate 
        */
        inline detail::is_classifiedF 
        is_print(const std::locale& Loc=std::locale())
        {
            return detail::is_classifiedF(std::ctype_base::print, Loc);
        }

        //! is_punct predicate
        /*!
            Construct the \c is_classified predicate for the \c ctype_base::punct category.   

            \param Loc A locale used for classification
            \return An instance of the \c is_classified predicate 
        */
        inline detail::is_classifiedF 
        is_punct(const std::locale& Loc=std::locale())
        {
            return detail::is_classifiedF(std::ctype_base::punct, Loc);
        }

        //! is_upper predicate
        /*!
            Construct the \c is_classified predicate for the \c ctype_base::upper category.   

            \param Loc A locale used for classification
            \return An instance of the \c is_classified predicate 
        */
        inline detail::is_classifiedF 
        is_upper(const std::locale& Loc=std::locale())
        {
            return detail::is_classifiedF(std::ctype_base::upper, Loc);
        }

        //! is_xdigit predicate
        /*!
            Construct the \c is_classified predicate for the \c ctype_base::xdigit category.  

            \param Loc A locale used for classification
            \return An instance of the \c is_classified predicate 
        */
        inline detail::is_classifiedF 
        is_xdigit(const std::locale& Loc=std::locale())
        {
            return detail::is_classifiedF(std::ctype_base::xdigit, Loc);
        }

        //! is_any_of predicate
        /*!
            Construct the \c is_any_of predicate. The predicate holds if the input
            is included in the specified set of characters.

            \param Set A set of characters to be recognized
            \return An instance of the \c is_any_of predicate 
        */
        template<typename RangeT>
        inline detail::is_any_ofF<
            BOOST_STRING_TYPENAME range_value<RangeT>::type> 
        is_any_of( const RangeT& Set )
        {
            return detail::is_any_ofF<
                BOOST_STRING_TYPENAME range_value<RangeT>::type>(Set); 
        }

        //! is_from_range predicate
        /*!
            Construct the \c is_from_range predicate. The predicate holds if the input
            is included in the specified range. (i.e. From <= Ch <= To )

            \param From The start of the range
            \param To The end of the range
            \return An instance of the \c is_from_range predicate 
        */
        template<typename CharT>
        inline detail::is_from_rangeF<CharT> is_from_range(CharT From, CharT To)
        {
            return detail::is_from_rangeF<CharT>(From,To); 
        }
        
        // predicate combinators ---------------------------------------------------//

        //! predicate 'and' composition predicate
        /*!
            Construct the \c class_and predicate. This predicate can be used
            to logically combine two classification predicates. \c class_and holds,
            if both predicates return true.

            \param Pred1 The first predicate
            \param Pred2 The second predicate
            \return An instance of the \c class_and predicate     
        */
        template<typename Pred1T, typename Pred2T>
        inline detail::pred_andF<Pred1T, Pred2T>
        operator&&( 
            const predicate_facade<Pred1T>& Pred1, 
            const predicate_facade<Pred2T>& Pred2 )
        {    
            // Doing the static_cast with the pointer instead of the reference
            // is a workaround for some compilers which have problems with
            // static_cast's of template references, i.e. CW8. /grafik/
            return detail::pred_andF<Pred1T,Pred2T>(
                *static_cast<const Pred1T*>(&Pred1), 
                *static_cast<const Pred2T*>(&Pred2) );
        }

        //! predicate 'or' composition predicate
        /*!
            Construct the \c class_or predicate. This predicate can be used
            to logically combine two classification predicates. \c class_or holds,
            if one of the predicates return true.

            \param Pred1 The first predicate
            \param Pred2 The second predicate
            \return An instance of the \c class_or predicate     
        */
        template<typename Pred1T, typename Pred2T>
        inline detail::pred_orF<Pred1T, Pred2T>
        operator||( 
            const predicate_facade<Pred1T>& Pred1, 
            const predicate_facade<Pred2T>& Pred2 )
        {    
            // Doing the static_cast with the pointer instead of the reference
            // is a workaround for some compilers which have problems with
            // static_cast's of template references, i.e. CW8. /grafik/
            return detail::pred_orF<Pred1T,Pred2T>(
                *static_cast<const Pred1T*>(&Pred1), 
                *static_cast<const Pred2T*>(&Pred2));
        }

        //! predicate negation operator
        /*!
            Construct the \c class_not predicate. This predicate represents a negation. 
            \c class_or holds if of the predicates return false.

            \param Pred The predicate to be negated
            \return An instance of the \c class_not predicate     
        */
        template<typename PredT>
        inline detail::pred_notF<PredT>
        operator!( const predicate_facade<PredT>& Pred )
        {
            // Doing the static_cast with the pointer instead of the reference
            // is a workaround for some compilers which have problems with
            // static_cast's of template references, i.e. CW8. /grafik/
            return detail::pred_notF<PredT>(*static_cast<const PredT*>(&Pred)); 
        }

    } // namespace algorithm

    // pull names to the boost namespace
    using algorithm::is_classified;
    using algorithm::is_space;
    using algorithm::is_alnum;
    using algorithm::is_alpha;
    using algorithm::is_cntrl;
    using algorithm::is_digit;
    using algorithm::is_graph;
    using algorithm::is_lower;
    using algorithm::is_upper;
    using algorithm::is_print;
    using algorithm::is_punct;
    using algorithm::is_xdigit;
    using algorithm::is_any_of;
    using algorithm::is_from_range;

} // namespace boost

#endif  // BOOST_STRING_PREDICATE_HPP

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲欧美日韩系列| 午夜视频在线观看一区二区| 久久av老司机精品网站导航| 欧美日韩免费一区二区三区 | 欧美不卡一区二区| 免费观看久久久4p| 日韩一区二区视频在线观看| 肉肉av福利一精品导航| 欧美日韩国产一区二区三区地区| 一区二区三区精密机械公司| 色88888久久久久久影院按摩 | 久久婷婷综合激情| 精品一区二区三区免费视频| 亚洲精品一区二区三区在线观看| 久久91精品久久久久久秒播| 26uuu久久天堂性欧美| 国产综合色在线| 蜜乳av一区二区| 欧美va日韩va| 国产东北露脸精品视频| 国产精品无遮挡| 91蜜桃免费观看视频| 一个色妞综合视频在线观看| 欧美色电影在线| 日本大胆欧美人术艺术动态| 欧美成人a∨高清免费观看| 韩国欧美国产1区| 国产网站一区二区三区| www.亚洲免费av| 亚洲蜜臀av乱码久久精品蜜桃| 91高清在线观看| 日韩影院免费视频| 欧美变态凌虐bdsm| 丁香桃色午夜亚洲一区二区三区| 国产精品国产三级国产a| 色综合久久久久综合体| 亚洲五码中文字幕| 日韩亚洲欧美中文三级| 国产福利一区二区| 一区视频在线播放| 欧美性欧美巨大黑白大战| 日本vs亚洲vs韩国一区三区二区| 亚洲精品一区二区三区四区高清| 国产凹凸在线观看一区二区| 亚洲免费观看高清| 日韩三级视频在线看| 国产91精品一区二区麻豆网站 | 中文字幕在线不卡视频| 欧美日韩一区二区在线观看 | 一区二区三区高清不卡| 欧美一级理论片| 懂色av一区二区夜夜嗨| 亚洲综合无码一区二区| 精品久久久久久久久久久久久久久久久| 国产精品一区久久久久| 一区二区三区国产| 亚洲精品一区在线观看| 色一情一乱一乱一91av| 蜜桃免费网站一区二区三区| 中文字幕一区二区三区四区不卡 | 麻豆精品新av中文字幕| 国产精品日韩成人| 欧美精品久久一区二区三区| 国产麻豆精品theporn| 亚洲综合色视频| 久久免费午夜影院| 欧美视频三区在线播放| 国内精品伊人久久久久av影院| 亚洲少妇最新在线视频| 日韩一区二区视频| 色香色香欲天天天影视综合网| 伦理电影国产精品| 一区二区三区在线观看动漫| 精品国产伦理网| 在线精品视频一区二区| 国产精品538一区二区在线| 亚洲福利视频一区| 国产精品天天看| 欧美成人在线直播| 在线精品视频免费观看| 成人性视频免费网站| 美女精品自拍一二三四| 亚洲黄色小说网站| 久久久久久久久久久电影| 欧美日韩一卡二卡三卡| 成人avav影音| 韩国女主播一区| 日韩二区三区四区| 亚洲乱码国产乱码精品精小说| 久久久午夜精品理论片中文字幕| 欧美日韩大陆在线| 99精品欧美一区| 国产电影一区在线| 久热成人在线视频| 亚洲一二三四区| 中文字幕日韩一区| 国产调教视频一区| 日韩午夜精品视频| 欧美午夜电影网| 99国产精品久| 国产成人免费9x9x人网站视频| 免费亚洲电影在线| 亚洲一区在线观看视频| 中文字幕亚洲一区二区va在线| 久久久综合网站| 日韩免费看的电影| 91精品国产综合久久久蜜臀图片| 色老汉一区二区三区| 成人禁用看黄a在线| 国产精品99久久久久| 精品一区二区日韩| 久久99精品国产| 奇米精品一区二区三区在线观看一| 亚洲一区二区在线视频| 亚洲精品五月天| 日韩伦理电影网| 自拍av一区二区三区| 国产精品麻豆久久久| 国产蜜臀97一区二区三区| 久久久777精品电影网影网 | 日韩免费一区二区三区在线播放| 欧美精品aⅴ在线视频| 日本高清视频一区二区| 色综合久久天天综合网| 一本一道久久a久久精品综合蜜臀| 成人精品免费看| 丁香激情综合五月| 成人免费视频app| 成人黄色a**站在线观看| 成人av集中营| 91麻豆国产自产在线观看| 96av麻豆蜜桃一区二区| 91婷婷韩国欧美一区二区| 99精品视频在线观看| 色欲综合视频天天天| 欧美亚洲一区二区三区四区| 在线免费观看日韩欧美| 欧美日韩情趣电影| 9191国产精品| 欧美tk—视频vk| 国产亚洲欧美日韩俺去了| 中文字幕乱码亚洲精品一区| 国产精品传媒视频| 亚洲日本一区二区| 亚洲国产美女搞黄色| 日本视频中文字幕一区二区三区| 丝袜美腿成人在线| 久久se精品一区精品二区| 国产一区二区网址| 成人黄色a**站在线观看| 色88888久久久久久影院野外 | 99视频在线精品| 日本电影欧美片| 欧美精品一二三| 欧美r级电影在线观看| 久久久精品天堂| 亚洲视频在线观看三级| 亚洲国产欧美在线| 蜜乳av一区二区| 国产精品免费看片| 一区二区成人在线视频| 日韩在线观看一区二区| 国产自产高清不卡| av电影一区二区| 欧美日韩一区二区三区四区| 日韩欧美国产麻豆| 中文乱码免费一区二区| 亚洲精品乱码久久久久久黑人| 丝袜亚洲精品中文字幕一区| 国产乱人伦偷精品视频免下载| 不卡的av在线播放| 欧美日韩国产综合一区二区三区 | www成人在线观看| 综合欧美亚洲日本| 午夜精品国产更新| 国产一区二区0| 91久久精品一区二区二区| 欧美一级片免费看| 中文字幕第一区二区| 亚洲成人一区在线| 国产精品一区专区| 在线看不卡av| 久久久噜噜噜久噜久久综合| 亚洲美女视频在线观看| 麻豆精品一二三| 色婷婷亚洲综合| 精品国产青草久久久久福利| 亚洲精品视频一区| 国产一区二区三区四区五区入口| 91麻豆国产自产在线观看| 欧美v日韩v国产v| 亚洲欧美成aⅴ人在线观看| 免费观看日韩电影| 91捆绑美女网站| 2019国产精品| 午夜私人影院久久久久| 福利一区二区在线观看| 91精品国产综合久久精品性色| 中文字幕在线一区二区三区| 蜜臀av性久久久久蜜臀aⅴ流畅|