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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? concepts.hpp

?? support vector clustering for vc++
?? HPP
?? 第 1 頁 / 共 3 頁
字號:
/*
 *
 * Copyright (c) 2004
 * 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         concepts.hpp
  *   VERSION      see <boost/version.hpp>
  *   DESCRIPTION: Declares regular expression concepts.
  */

#ifndef BOOST_REGEX_CONCEPTS_HPP_INCLUDED
#define BOOST_REGEX_CONCEPTS_HPP_INCLUDED

#include <boost/concept_archetype.hpp>
#include <boost/concept_check.hpp>
#include <boost/type_traits/is_enum.hpp>
#include <boost/type_traits/is_base_and_derived.hpp>
#include <boost/static_assert.hpp>
#ifndef BOOST_TEST_TR1_REGEX
#include <boost/regex.hpp>
#endif
#include <bitset>
#include <vector>
#include <iostream>

namespace boost{

//
// bitmask_archetype:
// this can be either an integer type, an enum, or a std::bitset,
// we use the latter as the architype as it offers the "strictest"
// of the possible interfaces:
//
typedef std::bitset<512> bitmask_archetype;
//
// char_architype:
// A strict model for the character type interface.
//
struct char_architype
{
   // default constructable:
   char_architype();
   // copy constructable / assignable:
   char_architype(const char_architype&);
   char_architype& operator=(const char_architype&);
   // constructable from an integral value:
   char_architype(unsigned long val);
   // comparable:
   bool operator==(const char_architype&)const;
   bool operator!=(const char_architype&)const;
   bool operator<(const char_architype&)const;
   bool operator<=(const char_architype&)const;
   bool operator>=(const char_architype&)const;
   bool operator>(const char_architype&)const;
   // conversion to integral type:
   operator long()const;
};
//
// char_architype can not be used with basic_string:
//
} // namespace boost
namespace std{
   template<> struct char_traits<boost::char_architype>
   {
      // The intent is that this template is not instantiated,
      // but this typedef gives us a chance of compilation in
      // case it is:
      typedef boost::char_architype char_type;
   };
}
namespace boost{
//
// regex_traits_architype:
// A strict interpretation of the regular expression traits class requirements.
//
template <class charT>
struct regex_traits_architype
{
public:
   regex_traits_architype();
   typedef charT char_type;
   typedef std::size_t size_type;
   typedef std::vector<char_type> string_type;
   typedef copy_constructible_archetype<assignable_archetype<> > locale_type;
   typedef bitmask_archetype char_class_type;

   static size_type length(const char_type* ) { return 0; }

   charT translate(charT ) const { return charT(); }
   charT translate_nocase(charT ) const { return static_object<charT>::get(); }

   template <class ForwardIterator>
   string_type transform(ForwardIterator , ForwardIterator ) const
   { return static_object<string_type>::get(); }
   template <class ForwardIterator>
   string_type transform_primary(ForwardIterator , ForwardIterator ) const
   { return static_object<string_type>::get(); }

   template <class ForwardIterator>
   char_class_type lookup_classname(ForwardIterator , ForwardIterator ) const
   { return static_object<char_class_type>::get(); }
   template <class ForwardIterator>
   string_type lookup_collatename(ForwardIterator , ForwardIterator ) const
   { return static_object<string_type>::get(); }

   bool isctype(charT, char_class_type) const
   { return false; }
   int value(charT, int) const
   { return 0; }

   locale_type imbue(locale_type l)
   { return l; }
   locale_type getloc()const
   { return static_object<locale_type>::get(); }

private:
   // this type is not copyable:
   regex_traits_architype(const regex_traits_architype&);
   regex_traits_architype& operator=(const regex_traits_architype&);
};

//
// alter this to std::tr1, to test a std implementation:
//
#ifndef BOOST_TEST_TR1_REGEX
namespace global_regex_namespace = ::boost;
#else
namespace global_regex_namespace = ::std::tr1;
#endif

template <class Bitmask>
struct BitmaskConcept
{
   void constraints() 
   {
      function_requires<CopyConstructibleConcept<Bitmask> >();
      function_requires<AssignableConcept<Bitmask> >();

      m_mask1 = m_mask2 | m_mask3;
      m_mask1 = m_mask2 & m_mask3;
      m_mask1 = m_mask2 ^ m_mask3;

      m_mask1 = ~m_mask2;

      m_mask1 |= m_mask2;
      m_mask1 &= m_mask2;
      m_mask1 ^= m_mask2;
   }
   Bitmask m_mask1, m_mask2, m_mask3;
};

template <class traits>
struct RegexTraitsConcept
{
   RegexTraitsConcept();
   // required typedefs:
   typedef typename traits::char_type char_type;
   typedef typename traits::size_type size_type;
   typedef typename traits::string_type string_type;
   typedef typename traits::locale_type locale_type;
   typedef typename traits::char_class_type char_class_type;

   void constraints() 
   {
      function_requires<UnsignedIntegerConcept<size_type> >();
      function_requires<RandomAccessContainerConcept<string_type> >();
      function_requires<DefaultConstructibleConcept<locale_type> >();
      function_requires<CopyConstructibleConcept<locale_type> >();
      function_requires<AssignableConcept<locale_type> >();
      function_requires<BitmaskConcept<char_class_type> >();

      size_type n = traits::length(m_pointer);
      ignore_unused_variable_warning(n);

      char_type c = m_ctraits.translate(m_char);
      ignore_unused_variable_warning(c);
      c = m_ctraits.translate_nocase(m_char);
      
      //string_type::foobar bar;
      string_type s1 = m_ctraits.transform(m_pointer, m_pointer);
      ignore_unused_variable_warning(s1);

      string_type s2 = m_ctraits.transform_primary(m_pointer, m_pointer);
      ignore_unused_variable_warning(s2);

      char_class_type cc = m_ctraits.lookup_classname(m_pointer, m_pointer);
      ignore_unused_variable_warning(cc);

      string_type s3 = m_ctraits.lookup_collatename(m_pointer, m_pointer);
      ignore_unused_variable_warning(s3);

      bool b = m_ctraits.isctype(m_char, cc);
      ignore_unused_variable_warning(b);

      int v = m_ctraits.value(m_char, 16);
      ignore_unused_variable_warning(v);

      locale_type l(m_ctraits.getloc());
      m_traits.imbue(l);
      ignore_unused_variable_warning(l);
   }
   traits m_traits;
   const traits m_ctraits;
   const char_type* m_pointer;
   char_type m_char;
private:
   RegexTraitsConcept& operator=(RegexTraitsConcept&);
};

//
// helper class to compute what traits class a regular expression type is using:
//
template <class Regex>
struct regex_traits_computer;

template <class charT, class traits>
struct regex_traits_computer< global_regex_namespace::basic_regex<charT, traits> >
{
   typedef traits type;
};

//
// BaseRegexConcept does not test anything dependent on basic_string,
// in case our charT does not have an associated char_traits:
//
template <class Regex>
struct BaseRegexConcept
{
   typedef typename Regex::value_type value_type;
   typedef typename Regex::size_type size_type;
   typedef typename Regex::flag_type flag_type;
   typedef typename Regex::locale_type locale_type;
   typedef input_iterator_archetype<value_type> input_iterator_type;

   // derived test types:
   typedef const value_type* pointer_type;
   typedef bidirectional_iterator_archetype<value_type> BidiIterator;
   typedef global_regex_namespace::sub_match<BidiIterator> sub_match_type;
   typedef global_regex_namespace::match_results<BidiIterator> match_results_type;
   typedef output_iterator_archetype<value_type> OutIterator;
   typedef typename regex_traits_computer<Regex>::type traits_type;
   typedef global_regex_namespace::regex_iterator<BidiIterator, value_type, traits_type> regex_iterator_type;
   typedef global_regex_namespace::regex_token_iterator<BidiIterator, value_type, traits_type> regex_token_iterator_type;

   void global_constraints()
   {
      //
      // test non-template components:
      //
      function_requires<BitmaskConcept<global_regex_namespace::regex_constants::syntax_option_type> >();
      global_regex_namespace::regex_constants::syntax_option_type opts
         = global_regex_namespace::regex_constants::icase
         | global_regex_namespace::regex_constants::nosubs
         | global_regex_namespace::regex_constants::optimize
         | global_regex_namespace::regex_constants::collate
         | global_regex_namespace::regex_constants::ECMAScript
         | global_regex_namespace::regex_constants::basic
         | global_regex_namespace::regex_constants::extended
         | global_regex_namespace::regex_constants::awk
         | global_regex_namespace::regex_constants::grep
         | global_regex_namespace::regex_constants::egrep;
      ignore_unused_variable_warning(opts);

      function_requires<BitmaskConcept<global_regex_namespace::regex_constants::match_flag_type> >();
      global_regex_namespace::regex_constants::match_flag_type mopts
         = global_regex_namespace::regex_constants::match_default
         | global_regex_namespace::regex_constants::match_not_bol
         | global_regex_namespace::regex_constants::match_not_eol
         | global_regex_namespace::regex_constants::match_not_bow
         | global_regex_namespace::regex_constants::match_not_eow
         | global_regex_namespace::regex_constants::match_any
         | global_regex_namespace::regex_constants::match_not_null
         | global_regex_namespace::regex_constants::match_continuous
         | global_regex_namespace::regex_constants::match_prev_avail
         | global_regex_namespace::regex_constants::format_default
         | global_regex_namespace::regex_constants::format_sed
         | global_regex_namespace::regex_constants::format_no_copy
         | global_regex_namespace::regex_constants::format_first_only;
      ignore_unused_variable_warning(mopts);

      BOOST_STATIC_ASSERT((::boost::is_enum<global_regex_namespace::regex_constants::error_type>::value));
      global_regex_namespace::regex_constants::error_type e1 = global_regex_namespace::regex_constants::error_collate;
      ignore_unused_variable_warning(e1);

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
三级在线观看一区二区| 欧美精选在线播放| 99久久er热在这里只有精品15| 免费成人你懂的| 蜜臀久久99精品久久久久宅男 | 国产精品国产三级国产专播品爱网| 久久午夜免费电影| 国产欧美综合在线观看第十页| 欧美大肚乱孕交hd孕妇| 久久人人爽爽爽人久久久| 中文字幕免费一区| 亚洲欧美偷拍三级| 午夜av区久久| 麻豆精品一区二区综合av| 国产米奇在线777精品观看| 粉嫩aⅴ一区二区三区四区五区| 97se亚洲国产综合自在线观| 欧美三级电影网站| 精品国产一区二区三区av性色 | 91亚洲午夜精品久久久久久| 色婷婷国产精品久久包臀 | 26uuu亚洲综合色| 国产亚洲美州欧州综合国| 一区二区在线看| 国内精品第一页| 在线视频你懂得一区二区三区| 精品久久久久久久久久久院品网 | 欧美日韩一级大片网址| 国产日韩欧美综合一区| 亚洲成人资源网| 99免费精品视频| 久久影院午夜片一区| 午夜视频一区在线观看| av一本久道久久综合久久鬼色| 欧美一级生活片| 亚洲美女淫视频| 成人精品国产福利| 精品裸体舞一区二区三区| 亚洲一区二区高清| 成人av片在线观看| 久久亚洲精品国产精品紫薇| 午夜精品久久久久久久久久| 精品中文字幕一区二区小辣椒| 91理论电影在线观看| 日韩你懂的电影在线观看| 亚洲一区免费在线观看| 粉嫩av一区二区三区| 日韩一本二本av| 一区二区三区不卡在线观看| 国产成人av影院| 欧美va日韩va| 日韩二区三区四区| 在线免费观看一区| 国产精品视频观看| 国产一区二区网址| 精品国产人成亚洲区| 亚洲第一激情av| 欧美艳星brazzers| 日韩和欧美一区二区| 日韩欧美电影一区| 国产在线精品一区二区夜色| 日韩视频在线一区二区| 舔着乳尖日韩一区| 国产欧美一区二区三区在线老狼| 国产一区二区网址| 欧美综合色免费| 一级精品视频在线观看宜春院 | 国产精品久久精品日日| 蜜臀va亚洲va欧美va天堂| 欧美日韩在线综合| 亚洲一区二区三区精品在线| 欧美在线免费观看视频| 亚洲一区在线观看视频| 色老汉一区二区三区| 亚洲乱码国产乱码精品精小说| 91丨九色丨尤物| 激情综合网av| 中文字幕免费在线观看视频一区| 99久久久国产精品免费蜜臀| 一区二区欧美国产| 日韩欧美在线一区二区三区| 免费观看成人av| 国产精品成人一区二区艾草| 精品视频在线视频| 精品一区在线看| 日韩电影在线一区二区| 国产九九视频一区二区三区| 久久久综合激的五月天| 丝袜美腿亚洲一区二区图片| 9191成人精品久久| 麻豆一区二区在线| 国产亚洲短视频| www.99精品| 亚洲成人精品一区二区| 欧美一卡二卡在线观看| 国产精品色婷婷| 免费成人av资源网| 国产亚洲一区二区三区| 成人国产精品免费| 亚洲尤物在线视频观看| 91麻豆精品国产无毒不卡在线观看| 日韩精品久久久久久| www欧美成人18+| 91丝袜美腿高跟国产极品老师 | 99精品久久免费看蜜臀剧情介绍| 尤物视频一区二区| 欧美一区二区三区喷汁尤物| 国产精品 日产精品 欧美精品| 日韩毛片高清在线播放| 在线成人小视频| 粉嫩一区二区三区性色av| 亚洲一区二区三区爽爽爽爽爽| 精品日韩成人av| 91同城在线观看| 久久国产精品色婷婷| 亚洲欧美综合另类在线卡通| 欧美狂野另类xxxxoooo| 国产99精品国产| 午夜精品福利视频网站| 国产日韩亚洲欧美综合| 欧美色综合天天久久综合精品| 免费成人在线观看视频| 亚洲四区在线观看| 欧美大胆人体bbbb| 91麻豆国产在线观看| 精品在线播放免费| 亚洲一二三区视频在线观看| 国产偷国产偷亚洲高清人白洁| 欧美在线播放高清精品| 国产精品一区二区在线观看网站| 亚洲一区二区精品视频| 欧美国产精品一区二区| 制服丝袜亚洲精品中文字幕| 99riav一区二区三区| 狠狠v欧美v日韩v亚洲ⅴ| 一区二区久久久久久| 国产午夜亚洲精品午夜鲁丝片| 欧美日韩中文字幕一区| 成人免费毛片嘿嘿连载视频| 青青青伊人色综合久久| 亚洲欧美日韩国产手机在线 | 国产91富婆露脸刺激对白| 久久久www成人免费无遮挡大片| 国产欧美日本一区视频| 中文字幕综合网| caoporn国产一区二区| 91亚洲精品乱码久久久久久蜜桃| 欧美日韩一区不卡| 国产精品人人做人人爽人人添| 亚洲香蕉伊在人在线观| 国产成人aaa| 欧美一级精品大片| 亚洲另类一区二区| 国内精品免费**视频| 欧美日韩1234| 亚洲在线视频免费观看| 国产精品自在欧美一区| 91精品在线一区二区| 亚洲精品第一国产综合野| 秋霞电影一区二区| 色综合久久99| 国产精品成人一区二区艾草 | 亚洲日本在线a| 综合久久一区二区三区| 久草精品在线观看| 欧美日韩中文另类| 一区二区三区欧美久久| 精品久久久久久久久久久院品网| 欧美日本国产一区| 成人中文字幕合集| 一区二区三区高清在线| 综合自拍亚洲综合图不卡区| 国产精品亲子伦对白| 久久综合九色综合97婷婷女人| 欧美一卡二卡在线| 91麻豆精品国产| 制服丝袜亚洲色图| 51午夜精品国产| 欧美日本不卡视频| 7777精品久久久大香线蕉 | 不卡av免费在线观看| 国产精品乱码人人做人人爱| 成人av在线播放网址| 国产精品成人在线观看| 99精品桃花视频在线观看| 国产日产亚洲精品系列| 成人晚上爱看视频| 亚洲成人www| 91精品欧美福利在线观看| 蜜桃久久久久久| 亚洲va国产va欧美va观看| 亚洲影视在线播放| 亚洲18色成人| 激情五月播播久久久精品| 蜜桃视频在线观看一区二区| 男人操女人的视频在线观看欧美| 蜜臀av性久久久久蜜臀aⅴ四虎| 精品一区二区免费| 粉嫩aⅴ一区二区三区四区五区| 不卡视频一二三|