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

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

?? concept_checks.h

?? ISO_C++:C++_STL開發文檔
?? H
?? 第 1 頁 / 共 2 頁
字號:
/* * Copyright (c) 1999 * Silicon Graphics Computer Systems, Inc. * * Permission to use, copy, modify, distribute and sell this software * and its documentation for any purpose is hereby granted without fee, * provided that the above copyright notice appear in all copies and * that both that copyright notice and this permission notice appear * in supporting documentation.  Silicon Graphics makes no * representations about the suitability of this software for any * purpose.  It is provided "as is" without express or implied warranty. */#ifndef __CONCEPT_CHECKS_H#define __CONCEPT_CHECKS_H/*  Use these macro like assertions, but they assert properties  on types (usually template arguments). In technical terms they  verify whether a type "models" a "concept".  This set of requirements and the terminology used here is derived  from the book "Generic Programming and the STL" by Matt Austern  (Addison Wesley). For further information please consult that  book. The requirements also are intended to match the ANSI/ISO C++  standard.  This file covers the basic concepts and the iterator concepts.  There are several other files that provide the requirements  for the STL containers:    container_concepts.h    sequence_concepts.h    assoc_container_concepts.h  Jeremy Siek, 1999  TO DO:    - some issues with regards to concept classification and mutability      including AssociativeContianer -> ForwardContainer      and SortedAssociativeContainer -> ReversibleContainer    - HashedAssociativeContainer    - Allocator    - Function Object Concepts  */#ifndef __STL_USE_CONCEPT_CHECKS// Some compilers lack the features that are necessary for concept checks.// On those compilers we define the concept check macros to do nothing.#define __STL_REQUIRES(__type_var, __concept) do {} while(0)#define __STL_CLASS_REQUIRES(__type_var, __concept) \  static int  __##__type_var##_##__concept#define __STL_CONVERTIBLE(__type_x, __type_y) do {} while(0)#define __STL_REQUIRES_SAME_TYPE(__type_x, __type_y) do {} while(0)#define __STL_CLASS_REQUIRES_SAME_TYPE(__type_x, __type_y) \  static int  __##__type_x##__type_y##_require_same_type#define __STL_GENERATOR_CHECK(__func, __ret) do {} while(0)#define __STL_CLASS_GENERATOR_CHECK(__func, __ret) \  static int  __##__func##__ret##_generator_check#define __STL_UNARY_FUNCTION_CHECK(__func, __ret, __arg) do {} while(0)#define __STL_CLASS_UNARY_FUNCTION_CHECK(__func, __ret, __arg) \  static int  __##__func##__ret##__arg##_unary_function_check#define __STL_BINARY_FUNCTION_CHECK(__func, __ret, __first, __second) \  do {} while(0)#define __STL_CLASS_BINARY_FUNCTION_CHECK(__func, __ret, __first, __second) \  static int  __##__func##__ret##__first##__second##_binary_function_check#define __STL_REQUIRES_BINARY_OP(__opname, __ret, __first, __second) \  do {} while(0)#define __STL_CLASS_REQUIRES_BINARY_OP(__opname, __ret, __first, __second) \  static int __##__opname##__ret##__first##__second##_require_binary_op#else /* __STL_USE_CONCEPT_CHECKS */// This macro tests whether the template argument "__type_var"// satisfies the requirements of "__concept".  Here is a list of concepts// that we know how to check://       _Allocator//       _Assignable//       _DefaultConstructible//       _EqualityComparable//       _LessThanComparable//       _TrivialIterator//       _InputIterator//       _OutputIterator//       _ForwardIterator//       _BidirectionalIterator//       _RandomAccessIterator//       _Mutable_TrivialIterator//       _Mutable_ForwardIterator//       _Mutable_BidirectionalIterator//       _Mutable_RandomAccessIterator#define __STL_REQUIRES(__type_var, __concept) \do { \  void (*__x)( __type_var ) = __concept##_concept_specification< __type_var >\    ::__concept##_requirement_violation; __x = __x; } while (0)// Use this to check whether type X is convertible to type Y#define __STL_CONVERTIBLE(__type_x, __type_y) \do { \  void (*__x)( __type_x , __type_y ) = _STL_CONVERT_ERROR< __type_x , \  __type_y >::__type_X_is_not_convertible_to_type_Y; \  __x = __x; } while (0)// Use this to test whether two template arguments are the same type#define __STL_REQUIRES_SAME_TYPE(__type_x, __type_y) \do { \  void (*__x)( __type_x , __type_y ) = _STL_SAME_TYPE_ERROR< __type_x, \    __type_y  >::__type_X_not_same_as_type_Y; \  __x = __x; } while (0)// function object checks#define __STL_GENERATOR_CHECK(__func, __ret) \do { \  __ret (*__x)( __func&) = \     _STL_GENERATOR_ERROR< \  __func, __ret>::__generator_requirement_violation; \  __x = __x; } while (0)#define __STL_UNARY_FUNCTION_CHECK(__func, __ret, __arg) \do { \  __ret (*__x)( __func&, const __arg& ) = \     _STL_UNARY_FUNCTION_ERROR< \  __func, __ret, __arg>::__unary_function_requirement_violation; \  __x = __x; } while (0)#define __STL_BINARY_FUNCTION_CHECK(__func, __ret, __first, __second) \do { \  __ret (*__x)( __func&, const __first&, const __second& ) = \     _STL_BINARY_FUNCTION_ERROR< \  __func, __ret, __first, __second>::__binary_function_requirement_violation; \  __x = __x; } while (0)#define __STL_REQUIRES_BINARY_OP(__opname, __ret, __first, __second) \    do { \  __ret (*__x)( __first&, __second& ) = _STL_BINARY##__opname##_ERROR< \    __ret, __first, __second>::__binary_operator_requirement_violation; \  __ret (*__y)( const __first&, const __second& ) = \    _STL_BINARY##__opname##_ERROR< __ret, __first, __second>:: \      __const_binary_operator_requirement_violation; \  __y = __y; __x = __x; } while (0)#ifdef __STL_NO_FUNCTION_PTR_IN_CLASS_TEMPLATE#define __STL_CLASS_REQUIRES(__type_var, __concept)#define __STL_CLASS_REQUIRES_SAME_TYPE(__type_x, __type_y)#define __STL_CLASS_GENERATOR_CHECK(__func, __ret)#define __STL_CLASS_UNARY_FUNCTION_CHECK(__func, __ret, __arg)#define __STL_CLASS_BINARY_FUNCTION_CHECK(__func, __ret, __first, __second)#define __STL_CLASS_REQUIRES_BINARY_OP(__opname, __ret, __first, __second)#else// Use this macro inside of template classes, where you would// like to place requirements on the template arguments to the class// Warning: do not pass pointers and such (e.g. T*) in as the __type_var,// since the type_var is used to construct identifiers. Instead typedef// the pointer type, then use the typedef name for the __type_var.#define __STL_CLASS_REQUIRES(__type_var, __concept) \  typedef void (* __func##__type_var##__concept)( __type_var ); \  template <__func##__type_var##__concept _Tp1> \  struct __dummy_struct_##__type_var##__concept { }; \  static __dummy_struct_##__type_var##__concept< \    __concept##_concept_specification< \      __type_var>::__concept##_requirement_violation>  \  __dummy_ptr_##__type_var##__concept#define __STL_CLASS_REQUIRES_SAME_TYPE(__type_x, __type_y) \  typedef void (* __func_##__type_x##__type_y##same_type)( __type_x, \                                                            __type_y ); \  template < __func_##__type_x##__type_y##same_type _Tp1> \  struct __dummy_struct_##__type_x##__type_y##_same_type { }; \  static __dummy_struct_##__type_x##__type_y##_same_type< \    _STL_SAME_TYPE_ERROR<__type_x, __type_y>::__type_X_not_same_as_type_Y>  \  __dummy_ptr_##__type_x##__type_y##_same_type#define __STL_CLASS_GENERATOR_CHECK(__func, __ret) \  typedef __ret (* __f_##__func##__ret##_generator)( __func& ); \  template <__f_##__func##__ret##_generator _Tp1> \  struct __dummy_struct_##__func##__ret##_generator { }; \  static __dummy_struct_##__func##__ret##_generator< \    _STL_GENERATOR_ERROR< \      __func, __ret>::__generator_requirement_violation>  \  __dummy_ptr_##__func##__ret##_generator#define __STL_CLASS_UNARY_FUNCTION_CHECK(__func, __ret, __arg) \  typedef __ret (* __f_##__func##__ret##__arg##_unary_check)( __func&, \                                                         const __arg& ); \  template <__f_##__func##__ret##__arg##_unary_check _Tp1> \  struct __dummy_struct_##__func##__ret##__arg##_unary_check { }; \  static __dummy_struct_##__func##__ret##__arg##_unary_check< \    _STL_UNARY_FUNCTION_ERROR< \      __func, __ret, __arg>::__unary_function_requirement_violation>  \  __dummy_ptr_##__func##__ret##__arg##_unary_check#define __STL_CLASS_BINARY_FUNCTION_CHECK(__func, __ret, __first, __second) \  typedef __ret (* __f_##__func##__ret##__first##__second##_binary_check)( __func&, const __first&,\                                                    const __second& ); \  template <__f_##__func##__ret##__first##__second##_binary_check _Tp1> \  struct __dummy_struct_##__func##__ret##__first##__second##_binary_check { }; \  static __dummy_struct_##__func##__ret##__first##__second##_binary_check< \    _STL_BINARY_FUNCTION_ERROR<__func, __ret, __first, __second>:: \  __binary_function_requirement_violation>  \  __dummy_ptr_##__func##__ret##__first##__second##_binary_check#define __STL_CLASS_REQUIRES_BINARY_OP(__opname, __ret, __first, __second) \  typedef __ret (* __f_##__func##__ret##__first##__second##_binary_op)(const __first&, \                                                    const __second& ); \  template <__f_##__func##__ret##__first##__second##_binary_op _Tp1> \  struct __dummy_struct_##__func##__ret##__first##__second##_binary_op { }; \  static __dummy_struct_##__func##__ret##__first##__second##_binary_op< \    _STL_BINARY##__opname##_ERROR<__ret, __first, __second>:: \  __binary_operator_requirement_violation>  \  __dummy_ptr_##__func##__ret##__first##__second##_binary_op#endif/* helper class for finding non-const version of a type. Need to have   something to assign to etc. when testing constant iterators. */template <class _Tp>struct _Mutable_trait {  typedef _Tp _Type;};template <class _Tp>struct _Mutable_trait<const _Tp> {  typedef _Tp _Type;};/* helper function for avoiding compiler warnings about unused variables */template <class _Type>void __sink_unused_warning(_Type) { }template <class _TypeX, class _TypeY>struct _STL_CONVERT_ERROR {  static void  __type_X_is_not_convertible_to_type_Y(_TypeX __x, _TypeY) {    _TypeY __y = __x;    __sink_unused_warning(__y);  }};template <class _Type> struct __check_equal { };template <class _TypeX, class _TypeY>struct _STL_SAME_TYPE_ERROR {  static void  __type_X_not_same_as_type_Y(_TypeX , _TypeY ) {     __check_equal<_TypeX> t1 = __check_equal<_TypeY>();  }};// Some Functon Object Checkstemplate <class _Func, class _Ret>struct _STL_GENERATOR_ERROR {  static _Ret __generator_requirement_violation(_Func& __f) {    return __f();  }};template <class _Func>struct _STL_GENERATOR_ERROR<_Func, void> {  static void __generator_requirement_violation(_Func& __f) {    __f();  }};template <class _Func, class _Ret, class _Arg>struct _STL_UNARY_FUNCTION_ERROR {  static _Ret  __unary_function_requirement_violation(_Func& __f,                                          const _Arg& __arg) {    return __f(__arg);  }};template <class _Func, class _Arg>struct _STL_UNARY_FUNCTION_ERROR<_Func, void, _Arg> {  static void  __unary_function_requirement_violation(_Func& __f,                                          const _Arg& __arg) {    __f(__arg);  }};template <class _Func, class _Ret, class _First, class _Second>struct _STL_BINARY_FUNCTION_ERROR {  static _Ret  __binary_function_requirement_violation(_Func& __f,                                          const _First& __first,                                           const _Second& __second) {    return __f(__first, __second);  }};template <class _Func, class _First, class _Second>struct _STL_BINARY_FUNCTION_ERROR<_Func, void, _First, _Second> {  static void  __binary_function_requirement_violation(_Func& __f,                                          const _First& __first,                                           const _Second& __second) {    __f(__first, __second);  }};#define __STL_DEFINE_BINARY_OP_CHECK(_OP, _NAME) \template <class _Ret, class _First, class _Second> \struct _STL_BINARY##_NAME##_ERROR { \  static _Ret \  __const_binary_operator_requirement_violation(const _First& __first,  \                                                const _Second& __second) { \    return __first _OP __second; \  } \  static _Ret \  __binary_operator_requirement_violation(_First& __first,  \                                          _Second& __second) { \    return __first _OP __second; \  } \}__STL_DEFINE_BINARY_OP_CHECK(==, _OP_EQUAL);__STL_DEFINE_BINARY_OP_CHECK(!=, _OP_NOT_EQUAL);__STL_DEFINE_BINARY_OP_CHECK(<, _OP_LESS_THAN);__STL_DEFINE_BINARY_OP_CHECK(<=, _OP_LESS_EQUAL);__STL_DEFINE_BINARY_OP_CHECK(>, _OP_GREATER_THAN);__STL_DEFINE_BINARY_OP_CHECK(>=, _OP_GREATER_EQUAL);__STL_DEFINE_BINARY_OP_CHECK(+, _OP_PLUS);__STL_DEFINE_BINARY_OP_CHECK(*, _OP_TIMES);__STL_DEFINE_BINARY_OP_CHECK(/, _OP_DIVIDE);__STL_DEFINE_BINARY_OP_CHECK(-, _OP_SUBTRACT);__STL_DEFINE_BINARY_OP_CHECK(%, _OP_MOD);// ...// TODO, add unary operators (prefix and postfix)/*  The presence of this class is just to trick EDG into displaying  these error messages before any other errors. Without the  classes, the errors in the functions get reported after  other class errors deep inside the library. The name  choice just makes for an eye catching error message :) */struct _STL_ERROR {  template <class _Type>  static _Type  __default_constructor_requirement_violation(_Type) {    return _Type();  }  template <class _Type>  static _Type  __assignment_operator_requirement_violation(_Type __a) {    __a = __a;    return __a;  }  template <class _Type>  static _Type  __copy_constructor_requirement_violation(_Type __a) {    _Type __c(__a);    return __c;  }  template <class _Type>  static _Type  __const_parameter_required_for_copy_constructor(_Type /* __a */,                                                   const _Type& __b) {    _Type __c(__b);    return __c;  }  template <class _Type>  static _Type  __const_parameter_required_for_assignment_operator(_Type __a,                                                      const _Type& __b) {    __a = __b;    return __a;  }  template <class _Type>  static _Type  __less_than_comparable_requirement_violation(_Type __a, _Type __b) {    if (__a < __b || __a > __b || __a <= __b || __a >= __b) return __a;    return __b;  }  template <class _Type>  static _Type  __equality_comparable_requirement_violation(_Type __a, _Type __b) {    if (__a == __b || __a != __b) return __a;    return __b;  }  template <class _Iterator>  static void

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
麻豆91在线看| 国产喷白浆一区二区三区| 国产成人午夜99999| 亚洲美腿欧美偷拍| 国产精品久久午夜| 国产精品国产三级国产有无不卡| 精品久久久久久综合日本欧美| 91网站视频在线观看| 99麻豆久久久国产精品免费| 成人国产精品免费| 99在线精品观看| 色婷婷精品大在线视频| 在线亚洲一区观看| 欧美日韩精品欧美日韩精品| 欧美日韩精品一区二区三区四区 | 亚洲国产欧美日韩另类综合| 综合色天天鬼久久鬼色| 亚洲精品国产一区二区精华液| 亚洲免费观看高清| 亚洲成av人片一区二区| 日韩成人dvd| 国产一区二区精品久久99| 岛国精品在线播放| 成人一区在线看| 欧美最新大片在线看| 欧美日韩中文字幕精品| 欧美日韩一区二区在线观看| 日韩欧美一二区| 国产精品伦一区二区三级视频| 一区二区三区四区精品在线视频| 亚洲高清免费观看高清完整版在线观看 | 91精品国产91久久久久久最新毛片 | 亚洲精品欧美专区| 日韩精品欧美成人高清一区二区| 久久99精品久久久久久久久久久久| 国产91在线|亚洲| 欧美亚洲一区二区在线| 欧美成人猛片aaaaaaa| 国产精品国产三级国产普通话99| 午夜在线电影亚洲一区| 国产一区91精品张津瑜| 91福利视频久久久久| 欧美精品一区二区三区蜜臀 | 在线精品观看国产| 精品国产一区久久| 亚洲一区二区三区中文字幕在线| 麻豆精品新av中文字幕| 91丨九色丨尤物| 26uuu精品一区二区三区四区在线| 国产精品天干天干在观线| 免费高清视频精品| 在线视频国内一区二区| 欧美精品一区二区三区在线| 亚洲电影欧美电影有声小说| 99久久久精品| www国产成人免费观看视频 深夜成人网| 亚洲欧美国产三级| 丁香五精品蜜臀久久久久99网站 | 欧美日韩黄色影视| 中文字幕精品一区二区三区精品| 日韩精品成人一区二区在线| 99久久精品99国产精品 | 亚洲三级小视频| 国产iv一区二区三区| 精品国产凹凸成av人网站| 五月综合激情婷婷六月色窝| 一本久久a久久免费精品不卡| 国产午夜三级一区二区三| 开心九九激情九九欧美日韩精美视频电影| 色综合天天综合给合国产| 国产农村妇女精品| 国内精品久久久久影院薰衣草| 正在播放亚洲一区| 日韩精品一区第一页| 欧美日韩精品一区二区| 午夜精品久久久久| 制服丝袜亚洲精品中文字幕| 婷婷成人激情在线网| 欧美精品v国产精品v日韩精品| 亚洲综合色区另类av| 在线观看亚洲专区| 亚洲成av人片在线| 91精品国产综合久久精品性色| 日日摸夜夜添夜夜添亚洲女人| 欧美视频一区在线| 日日夜夜免费精品| 日韩欧美一级精品久久| 国产综合久久久久影院| 国产日韩欧美一区二区三区综合 | 亚洲一区二区在线免费看| 在线日韩一区二区| 性做久久久久久久免费看| 色综合视频在线观看| 亚洲一区二区三区在线| 91精品国产福利在线观看| 东方aⅴ免费观看久久av| 国产精品理论片| 91黄色免费版| 婷婷综合在线观看| 久久久久久久一区| 99riav久久精品riav| 亚洲一二三区在线观看| 日韩免费电影网站| 成人小视频免费在线观看| 国产精品日韩成人| 欧美视频一区在线| 激情综合网最新| 18欧美乱大交hd1984| 欧美欧美欧美欧美首页| 国内精品伊人久久久久av一坑| 中文字幕一区二区三区四区不卡 | thepron国产精品| 亚洲午夜日本在线观看| 日韩欧美一区二区视频| 成a人片国产精品| 午夜av电影一区| 国产日韩欧美不卡在线| 欧美日韩精品专区| 不卡欧美aaaaa| 日韩精品欧美精品| 一区在线中文字幕| 精品日产卡一卡二卡麻豆| 91视视频在线观看入口直接观看www | 国产日韩欧美在线一区| 国产成人免费9x9x人网站视频| 伊人婷婷欧美激情| 国产三级一区二区| 欧美一区二区播放| 91精选在线观看| 成人一区二区在线观看| 麻豆91在线播放| 亚洲一区二区视频| 中文字幕亚洲不卡| 国产日韩精品视频一区| 日韩一区二区三区视频在线观看| 99精品国产热久久91蜜凸| 激情综合色播激情啊| 亚洲国产精品嫩草影院| 亚洲天堂精品在线观看| 久久久美女艺术照精彩视频福利播放| 欧美三级电影在线看| 99这里只有久久精品视频| 国产激情一区二区三区四区| 日日夜夜精品免费视频| 亚洲精品菠萝久久久久久久| 国产精品全国免费观看高清| 精品少妇一区二区三区| 欧美电视剧免费观看| 日韩免费在线观看| 欧美一级视频精品观看| 在线观看91av| 欧美日韩亚洲综合一区二区三区| 9色porny自拍视频一区二区| www.性欧美| 91美女在线视频| 一本一道久久a久久精品综合蜜臀| 99久久亚洲一区二区三区青草| 欧美性猛片aaaaaaa做受| 日本韩国一区二区三区| 日本韩国精品一区二区在线观看| 91麻豆国产精品久久| 色综合一个色综合| 欧美色图免费看| 制服丝袜成人动漫| 日韩免费高清电影| 国产丝袜美腿一区二区三区| 国产欧美一区二区三区在线看蜜臀| 亚洲精品一区二区三区99| 国产调教视频一区| 中文字幕亚洲在| 一区二区在线观看不卡| 亚洲va韩国va欧美va精品| 日本欧美一区二区三区| 精品制服美女久久| 国产91高潮流白浆在线麻豆 | 欧美性受xxxx| 欧美日韩国产在线播放网站| 在线成人高清不卡| 久久精品视频免费观看| 综合网在线视频| 日韩av在线播放中文字幕| 国产毛片精品一区| 96av麻豆蜜桃一区二区| 精品1区2区3区| 久久久精品日韩欧美| 日韩理论片中文av| 午夜精品一区二区三区免费视频| 蜜桃视频在线观看一区二区| 国产99久久久国产精品| 在线一区二区三区四区五区| 精品国产免费视频| 国产精品传媒视频| 日韩经典一区二区| 成a人片国产精品| 日韩精品一区国产麻豆| 综合久久给合久久狠狠狠97色| 午夜av区久久| 91麻豆swag| 欧美不卡激情三级在线观看| 亚洲精品日产精品乱码不卡|