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

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

?? type_traits.h

?? TSP問(wèn)題的一個(gè)類庫(kù) 有源代碼和stl
?? H
字號(hào):
/*
 *
 * Copyright (c) 1997
 * 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 __TYPE_TRAITS_H
#define __TYPE_TRAITS_H

#ifndef __STL_CONFIG_H
#include <stl_config.h>
#endif

/*
This header file provides a framework for allowing compile time dispatch
based on type attributes. This is useful when writing template code.
For example, when making a copy of an array of an unknown type, it helps
to know if the type has a trivial copy constructor or not, to help decide
if a memcpy can be used.

The class template __type_traits provides a series of typedefs each of
which is either __true_type or __false_type. The argument to
__type_traits can be any type. The typedefs within this template will
attain their correct values by one of these means:
    1. The general instantiation contain conservative values which work
       for all types.
    2. Specializations may be declared to make distinctions between types.
    3. Some compilers (such as the Silicon Graphics N32 and N64 compilers)
       will automatically provide the appropriate specializations for all
       types.

EXAMPLE:

//Copy an array of elements which have non-trivial copy constructors
template <class T> void copy(T* source, T* destination, int n, __false_type);
//Copy an array of elements which have trivial copy constructors. Use memcpy.
template <class T> void copy(T* source, T* destination, int n, __true_type);

//Copy an array of any type by using the most efficient copy mechanism
template <class T> inline void copy(T* source,T* destination,int n) {
   copy(source, destination, n,
        typename __type_traits<T>::has_trivial_copy_constructor());
}
*/


struct __true_type {
};

struct __false_type {
};

template <class _Tp>
struct __type_traits { 
   typedef __true_type     this_dummy_member_must_be_first;
                   /* Do not remove this member. It informs a compiler which
                      automatically specializes __type_traits that this
                      __type_traits template is special. It just makes sure that
                      things work if an implementation is using a template
                      called __type_traits for something unrelated. */

   /* The following restrictions should be observed for the sake of
      compilers which automatically produce type specific specializations 
      of this class:
          - You may reorder the members below if you wish
          - You may remove any of the members below if you wish
          - You must not rename members without making the corresponding
            name change in the compiler
          - Members you add will be treated like regular members unless
            you add the appropriate support in the compiler. */
 

   typedef __false_type    has_trivial_default_constructor;
   typedef __false_type    has_trivial_copy_constructor;
   typedef __false_type    has_trivial_assignment_operator;
   typedef __false_type    has_trivial_destructor;
   typedef __false_type    is_POD_type;
};



// Provide some specializations.  This is harmless for compilers that
//  have built-in __types_traits support, and essential for compilers
//  that don't.

#ifndef __STL_NO_BOOL

__STL_TEMPLATE_NULL struct __type_traits<bool> {
   typedef __true_type    has_trivial_default_constructor;
   typedef __true_type    has_trivial_copy_constructor;
   typedef __true_type    has_trivial_assignment_operator;
   typedef __true_type    has_trivial_destructor;
   typedef __true_type    is_POD_type;
};

#endif /* __STL_NO_BOOL */

__STL_TEMPLATE_NULL struct __type_traits<char> {
   typedef __true_type    has_trivial_default_constructor;
   typedef __true_type    has_trivial_copy_constructor;
   typedef __true_type    has_trivial_assignment_operator;
   typedef __true_type    has_trivial_destructor;
   typedef __true_type    is_POD_type;
};

__STL_TEMPLATE_NULL struct __type_traits<signed char> {
   typedef __true_type    has_trivial_default_constructor;
   typedef __true_type    has_trivial_copy_constructor;
   typedef __true_type    has_trivial_assignment_operator;
   typedef __true_type    has_trivial_destructor;
   typedef __true_type    is_POD_type;
};

__STL_TEMPLATE_NULL struct __type_traits<unsigned char> {
   typedef __true_type    has_trivial_default_constructor;
   typedef __true_type    has_trivial_copy_constructor;
   typedef __true_type    has_trivial_assignment_operator;
   typedef __true_type    has_trivial_destructor;
   typedef __true_type    is_POD_type;
};

#ifdef __STL_HAS_WCHAR_T

__STL_TEMPLATE_NULL struct __type_traits<wchar_t> {
   typedef __true_type    has_trivial_default_constructor;
   typedef __true_type    has_trivial_copy_constructor;
   typedef __true_type    has_trivial_assignment_operator;
   typedef __true_type    has_trivial_destructor;
   typedef __true_type    is_POD_type;
};

#endif /* __STL_HAS_WCHAR_T */

__STL_TEMPLATE_NULL struct __type_traits<short> {
   typedef __true_type    has_trivial_default_constructor;
   typedef __true_type    has_trivial_copy_constructor;
   typedef __true_type    has_trivial_assignment_operator;
   typedef __true_type    has_trivial_destructor;
   typedef __true_type    is_POD_type;
};

__STL_TEMPLATE_NULL struct __type_traits<unsigned short> {
   typedef __true_type    has_trivial_default_constructor;
   typedef __true_type    has_trivial_copy_constructor;
   typedef __true_type    has_trivial_assignment_operator;
   typedef __true_type    has_trivial_destructor;
   typedef __true_type    is_POD_type;
};

__STL_TEMPLATE_NULL struct __type_traits<int> {
   typedef __true_type    has_trivial_default_constructor;
   typedef __true_type    has_trivial_copy_constructor;
   typedef __true_type    has_trivial_assignment_operator;
   typedef __true_type    has_trivial_destructor;
   typedef __true_type    is_POD_type;
};

__STL_TEMPLATE_NULL struct __type_traits<unsigned int> {
   typedef __true_type    has_trivial_default_constructor;
   typedef __true_type    has_trivial_copy_constructor;
   typedef __true_type    has_trivial_assignment_operator;
   typedef __true_type    has_trivial_destructor;
   typedef __true_type    is_POD_type;
};

__STL_TEMPLATE_NULL struct __type_traits<long> {
   typedef __true_type    has_trivial_default_constructor;
   typedef __true_type    has_trivial_copy_constructor;
   typedef __true_type    has_trivial_assignment_operator;
   typedef __true_type    has_trivial_destructor;
   typedef __true_type    is_POD_type;
};

__STL_TEMPLATE_NULL struct __type_traits<unsigned long> {
   typedef __true_type    has_trivial_default_constructor;
   typedef __true_type    has_trivial_copy_constructor;
   typedef __true_type    has_trivial_assignment_operator;
   typedef __true_type    has_trivial_destructor;
   typedef __true_type    is_POD_type;
};

#ifdef __STL_LONG_LONG

__STL_TEMPLATE_NULL struct __type_traits<long long> {
   typedef __true_type    has_trivial_default_constructor;
   typedef __true_type    has_trivial_copy_constructor;
   typedef __true_type    has_trivial_assignment_operator;
   typedef __true_type    has_trivial_destructor;
   typedef __true_type    is_POD_type;
};

__STL_TEMPLATE_NULL struct __type_traits<unsigned long long> {
   typedef __true_type    has_trivial_default_constructor;
   typedef __true_type    has_trivial_copy_constructor;
   typedef __true_type    has_trivial_assignment_operator;
   typedef __true_type    has_trivial_destructor;
   typedef __true_type    is_POD_type;
};

#endif /* __STL_LONG_LONG */

__STL_TEMPLATE_NULL struct __type_traits<float> {
   typedef __true_type    has_trivial_default_constructor;
   typedef __true_type    has_trivial_copy_constructor;
   typedef __true_type    has_trivial_assignment_operator;
   typedef __true_type    has_trivial_destructor;
   typedef __true_type    is_POD_type;
};

__STL_TEMPLATE_NULL struct __type_traits<double> {
   typedef __true_type    has_trivial_default_constructor;
   typedef __true_type    has_trivial_copy_constructor;
   typedef __true_type    has_trivial_assignment_operator;
   typedef __true_type    has_trivial_destructor;
   typedef __true_type    is_POD_type;
};

__STL_TEMPLATE_NULL struct __type_traits<long double> {
   typedef __true_type    has_trivial_default_constructor;
   typedef __true_type    has_trivial_copy_constructor;
   typedef __true_type    has_trivial_assignment_operator;
   typedef __true_type    has_trivial_destructor;
   typedef __true_type    is_POD_type;
};

#ifdef __STL_CLASS_PARTIAL_SPECIALIZATION

template <class _Tp>
struct __type_traits<_Tp*> {
   typedef __true_type    has_trivial_default_constructor;
   typedef __true_type    has_trivial_copy_constructor;
   typedef __true_type    has_trivial_assignment_operator;
   typedef __true_type    has_trivial_destructor;
   typedef __true_type    is_POD_type;
};

#else /* __STL_CLASS_PARTIAL_SPECIALIZATION */

__STL_TEMPLATE_NULL struct __type_traits<char*> {
   typedef __true_type    has_trivial_default_constructor;
   typedef __true_type    has_trivial_copy_constructor;
   typedef __true_type    has_trivial_assignment_operator;
   typedef __true_type    has_trivial_destructor;
   typedef __true_type    is_POD_type;
};

__STL_TEMPLATE_NULL struct __type_traits<signed char*> {
   typedef __true_type    has_trivial_default_constructor;
   typedef __true_type    has_trivial_copy_constructor;
   typedef __true_type    has_trivial_assignment_operator;
   typedef __true_type    has_trivial_destructor;
   typedef __true_type    is_POD_type;
};

__STL_TEMPLATE_NULL struct __type_traits<unsigned char*> {
   typedef __true_type    has_trivial_default_constructor;
   typedef __true_type    has_trivial_copy_constructor;
   typedef __true_type    has_trivial_assignment_operator;
   typedef __true_type    has_trivial_destructor;
   typedef __true_type    is_POD_type;
};

__STL_TEMPLATE_NULL struct __type_traits<const char*> {
   typedef __true_type    has_trivial_default_constructor;
   typedef __true_type    has_trivial_copy_constructor;
   typedef __true_type    has_trivial_assignment_operator;
   typedef __true_type    has_trivial_destructor;
   typedef __true_type    is_POD_type;
};

__STL_TEMPLATE_NULL struct __type_traits<const signed char*> {
   typedef __true_type    has_trivial_default_constructor;
   typedef __true_type    has_trivial_copy_constructor;
   typedef __true_type    has_trivial_assignment_operator;
   typedef __true_type    has_trivial_destructor;
   typedef __true_type    is_POD_type;
};

__STL_TEMPLATE_NULL struct __type_traits<const unsigned char*> {
   typedef __true_type    has_trivial_default_constructor;
   typedef __true_type    has_trivial_copy_constructor;
   typedef __true_type    has_trivial_assignment_operator;
   typedef __true_type    has_trivial_destructor;
   typedef __true_type    is_POD_type;
};

#endif /* __STL_CLASS_PARTIAL_SPECIALIZATION */


// The following could be written in terms of numeric_limits.  
// We're doing it separately to reduce the number of dependencies.

template <class _Tp> struct _Is_integer {
  typedef __false_type _Integral;
};

#ifndef __STL_NO_BOOL

__STL_TEMPLATE_NULL struct _Is_integer<bool> {
  typedef __true_type _Integral;
};

#endif /* __STL_NO_BOOL */

__STL_TEMPLATE_NULL struct _Is_integer<char> {
  typedef __true_type _Integral;
};

__STL_TEMPLATE_NULL struct _Is_integer<signed char> {
  typedef __true_type _Integral;
};

__STL_TEMPLATE_NULL struct _Is_integer<unsigned char> {
  typedef __true_type _Integral;
};

#ifdef __STL_HAS_WCHAR_T

__STL_TEMPLATE_NULL struct _Is_integer<wchar_t> {
  typedef __true_type _Integral;
};

#endif /* __STL_HAS_WCHAR_T */

__STL_TEMPLATE_NULL struct _Is_integer<short> {
  typedef __true_type _Integral;
};

__STL_TEMPLATE_NULL struct _Is_integer<unsigned short> {
  typedef __true_type _Integral;
};

__STL_TEMPLATE_NULL struct _Is_integer<int> {
  typedef __true_type _Integral;
};

__STL_TEMPLATE_NULL struct _Is_integer<unsigned int> {
  typedef __true_type _Integral;
};

__STL_TEMPLATE_NULL struct _Is_integer<long> {
  typedef __true_type _Integral;
};

__STL_TEMPLATE_NULL struct _Is_integer<unsigned long> {
  typedef __true_type _Integral;
};

#ifdef __STL_LONG_LONG

__STL_TEMPLATE_NULL struct _Is_integer<long long> {
  typedef __true_type _Integral;
};

__STL_TEMPLATE_NULL struct _Is_integer<unsigned long long> {
  typedef __true_type _Integral;
};

#endif /* __STL_LONG_LONG */

#endif /* __TYPE_TRAITS_H */

// Local Variables:
// mode:C++
// End:

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产一二三精品| 国产麻豆视频精品| 久久五月婷婷丁香社区| 北条麻妃国产九九精品视频| 亚洲国产综合91精品麻豆| 日韩午夜三级在线| 99re这里只有精品首页| 麻豆精品国产传媒mv男同| 亚洲精品你懂的| 久久久精品免费免费| 欧美欧美欧美欧美| 成人涩涩免费视频| 蜜桃av噜噜一区二区三区小说| 亚洲人精品一区| 久久日一线二线三线suv| 欧美曰成人黄网| 成人av在线观| 国产精品456| 麻豆精品在线播放| 天堂va蜜桃一区二区三区| 亚洲欧美一区二区三区国产精品| 欧美精品一区二区三区久久久| 欧美另类一区二区三区| 欧洲精品在线观看| 91蜜桃免费观看视频| 成人黄色在线看| 国产精品99久久久久久宅男| 久久国产精品色| 青青草精品视频| 日韩精品一级中文字幕精品视频免费观看 | 奇米色一区二区| 亚洲第一狼人社区| 艳妇臀荡乳欲伦亚洲一区| 亚洲视频每日更新| 亚洲视频一二三区| 日韩毛片高清在线播放| 国产精品嫩草99a| 中文字幕第一区综合| 中文字幕精品综合| 国产精品国产三级国产| 国产欧美日韩在线看| 久久九九全国免费| 国产亚洲欧美日韩日本| 日本一区二区视频在线观看| 欧美国产禁国产网站cc| 中文字幕一区二区三区色视频 | 日韩欧美电影一区| 欧美成人bangbros| 久久久久久久久久久电影| 国产亚洲欧洲一区高清在线观看| 2022国产精品视频| 国产欧美综合色| 中文字幕欧美一| 亚洲一区二区三区视频在线播放| 一区二区三区日韩欧美| 午夜亚洲福利老司机| 三级欧美在线一区| 久久99国产精品免费网站| 国产精品综合av一区二区国产馆| 国产乱人伦偷精品视频不卡| 成人国产精品免费网站| 色先锋资源久久综合| 欧美在线观看一二区| 欧美一区二区大片| 久久久99精品久久| 国产精品成人一区二区三区夜夜夜| 亚洲人成电影网站色mp4| 一区二区三区欧美亚洲| 日韩av电影免费观看高清完整版| 久久99热这里只有精品| 成人一区二区三区| 91蝌蚪porny| 欧美军同video69gay| 精品日韩欧美在线| 亚洲欧美一区二区三区国产精品| 亚洲成人av中文| 国内久久婷婷综合| 91在线观看污| 这里只有精品电影| 欧美经典三级视频一区二区三区| 亚洲美女淫视频| 精品一区免费av| 不卡av在线免费观看| 欧美日韩成人激情| 国产免费久久精品| 性欧美疯狂xxxxbbbb| 国产精品一卡二| 欧美视频在线观看一区二区| 久久伊人蜜桃av一区二区| 亚洲精品中文在线观看| 另类的小说在线视频另类成人小视频在线 | 欧美a级理论片| 欧美影片第一页| 中文字幕的久久| 日本特黄久久久高潮| 99久久婷婷国产综合精品 | 亚洲人午夜精品天堂一二香蕉| 美女视频免费一区| 色婷婷国产精品| 久久久久久久久久久久久女国产乱| 亚洲自拍偷拍图区| 成人精品视频一区二区三区尤物| 欧美日本一区二区| 自拍偷自拍亚洲精品播放| 伦理电影国产精品| 精品视频一区二区三区免费| 久久精品一区蜜桃臀影院| 日韩精品午夜视频| 91极品美女在线| 欧美激情综合在线| 激情综合色综合久久综合| 欧美亚洲国产一区在线观看网站| 欧美国产精品一区二区| 精品一区二区三区在线播放| 91精品1区2区| 亚洲男同性视频| 成人国产精品免费观看视频| 久久精品一区二区三区不卡| 日本亚洲视频在线| 欧美日韩亚洲高清一区二区| 亚洲色图视频网| av一二三不卡影片| 国产欧美日韩视频一区二区| 久久99国产精品麻豆| 91 com成人网| 日韩国产精品91| 欧美日韩一区二区三区不卡| 亚洲精品视频观看| 在线视频一区二区三| 亚洲欧洲美洲综合色网| av中文字幕一区| 中文字幕中文字幕一区| 丁香婷婷综合色啪| 国产欧美精品区一区二区三区 | 日韩精品一卡二卡三卡四卡无卡| 欧美无人高清视频在线观看| 国产精品中文字幕一区二区三区| 日韩一级高清毛片| 老司机精品视频线观看86| 日韩午夜电影在线观看| 美女视频网站黄色亚洲| 欧美成人在线直播| 国产美女主播视频一区| 国产欧美一区二区三区网站 | 精品伊人久久久久7777人| 欧美成人video| 国产成人在线免费| 国产欧美日韩麻豆91| 国产成人亚洲精品青草天美| 亚洲国产精品成人综合| av电影在线观看一区| 亚洲人成人一区二区在线观看| 色老汉一区二区三区| 亚洲精品视频在线观看网站| 欧美三级视频在线观看| 日韩激情一区二区| 精品国产三级a在线观看| 国产乱码精品一区二区三区av| 国产日韩欧美高清在线| 白白色 亚洲乱淫| 亚洲国产综合91精品麻豆| 91精品久久久久久蜜臀| 狠狠狠色丁香婷婷综合久久五月| 国产网站一区二区| 在线观看一区二区精品视频| 亚洲成在线观看| 精品国产乱码久久久久久老虎 | 亚洲高清免费视频| 精品嫩草影院久久| 成人aa视频在线观看| 亚洲成人免费看| 精品国产电影一区二区| 99精品国产一区二区三区不卡| 亚洲国产精品麻豆| 久久久久99精品国产片| 91电影在线观看| 国产真实乱偷精品视频免| 中文字幕色av一区二区三区| 欧美老女人在线| 国产suv精品一区二区883| 亚洲一区日韩精品中文字幕| 精品av综合导航| 在线观看视频91| 国产成人99久久亚洲综合精品| 香港成人在线视频| 国产精品成人在线观看| 日韩欧美国产高清| 欧美视频一区二区三区四区 | 成人app下载| 日本成人在线网站| 亚洲欧洲精品一区二区精品久久久| 欧美一区二区三区四区五区| 成人av资源在线| 蜜桃精品视频在线| 亚洲毛片av在线| 国产欧美日韩麻豆91| 日韩欧美中文字幕一区| 色婷婷av一区二区| 国产成人精品一区二区三区四区 | 亚洲精品免费看|