锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲色欲久久久久综合网,久久香蕉国产线看观看99,九九99精品久久久久久http://www.shnenglu.com/chenchen/category/684.htmlC++zh-cnTue, 20 May 2008 08:56:31 GMTTue, 20 May 2008 08:56:31 GMT60浼殢鏈烘暟浜х敓鍣?/title><link>http://www.shnenglu.com/chenchen/archive/2005/12/28/2210.html</link><dc:creator>chenchen</dc:creator><author>chenchen</author><pubDate>Wed, 28 Dec 2005 05:35:00 GMT</pubDate><guid>http://www.shnenglu.com/chenchen/archive/2005/12/28/2210.html</guid><wfw:comment>http://www.shnenglu.com/chenchen/comments/2210.html</wfw:comment><comments>http://www.shnenglu.com/chenchen/archive/2005/12/28/2210.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.shnenglu.com/chenchen/comments/commentRss/2210.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/chenchen/services/trackbacks/2210.html</trackback:ping><description><![CDATA[class subtractive_rng : public unary_function<unsigned int, unsigned int> {<BR>private:<BR>  unsigned int _M_table[55];<BR>  size_t _M_index1;<BR>  size_t _M_index2;<BR>public:<BR>  unsigned int operator()(unsigned int __limit) {<BR>    _M_index1 = (_M_index1 + 1) % 55;<BR>    _M_index2 = (_M_index2 + 1) % 55;<BR>    _M_table[_M_index1] = _M_table[_M_index1] - _M_table[_M_index2];<BR>    return _M_table[_M_index1] % __limit;<BR>  }<BR><BR>  void _M_initialize(unsigned int __seed)<BR>  {<BR>    unsigned int __k = 1;<BR>    _M_table[54] = __seed;<BR>    size_t __i;<BR>    for (__i = 0; __i < 54; __i++) {<BR>        size_t __ii = (21 * (__i + 1) % 55) - 1;<BR>        _M_table[__ii] = __k;<BR>        __k = __seed - __k;<BR>        __seed = _M_table[__ii];<BR>    }<BR>    for (int __loop = 0; __loop < 4; __loop++) {<BR>        for (__i = 0; __i < 55; __i++)<BR>            _M_table[__i] = _M_table[__i] - _M_table[(1 + __i + 30) % 55];<BR>    }<BR>    _M_index1 = 0;<BR>    _M_index2 = 31;<BR>  }<BR><BR>  subtractive_rng(unsigned int __seed) { _M_initialize(__seed); }<BR>  subtractive_rng() { _M_initialize(161803398u); }<BR>};<img src ="http://www.shnenglu.com/chenchen/aggbug/2210.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/chenchen/" target="_blank">chenchen</a> 2005-12-28 13:35 <a href="http://www.shnenglu.com/chenchen/archive/2005/12/28/2210.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>stl 鍑芥暟瀵硅薄http://www.shnenglu.com/chenchen/archive/2005/12/27/2190.htmlchenchenchenchenTue, 27 Dec 2005 13:14:00 GMThttp://www.shnenglu.com/chenchen/archive/2005/12/27/2190.htmlhttp://www.shnenglu.com/chenchen/comments/2190.htmlhttp://www.shnenglu.com/chenchen/archive/2005/12/27/2190.html#Feedback0http://www.shnenglu.com/chenchen/comments/commentRss/2190.htmlhttp://www.shnenglu.com/chenchen/services/trackbacks/2190.html
template <class _Tp>
struct _Identity : public unary_function<_Tp,_Tp> {
  const _Tp& operator()(const _Tp& __x) const { return __x; }
};

template <class _Tp> struct identity : public _Identity<_Tp> {};

//楠岃瘉妯℃澘鍙傛暟鏄笉鏄竴涓嚱鏁板璞$被鍨?BR>
template <class _Pair>
struct _Select1st : public unary_function<_Pair, typename _Pair::first_type> {
  const typename _Pair::first_type& operator()(const _Pair& __x) const {
    return __x.first;
  }
};

template <class _Pair>
struct _Select2nd : public unary_function<_Pair, typename _Pair::second_type>
{
  const typename _Pair::second_type& operator()(const _Pair& __x) const {
    return __x.second;
  }
};

template <class _Pair> struct select1st : public _Select1st<_Pair> {};
template <class _Pair> struct select2nd : public _Select2nd<_Pair> {};

//蹇界暐妯℃澘鍙傛暟涓簆air綾誨瀷鎵鍖呭惈鐨勭浉搴斿弬鏁?絎竴涓弬鏁板拰絎簩涓弬鏁?

template <class _Arg1, class _Arg2>
struct _Project1st : public binary_function<_Arg1, _Arg2, _Arg1> {
  _Arg1 operator()(const _Arg1& __x, const _Arg2&) const { return __x; }
};

template <class _Arg1, class _Arg2>
struct _Project2nd : public binary_function<_Arg1, _Arg2, _Arg2> {
  _Arg2 operator()(const _Arg1&, const _Arg2& __y) const { return __y; }
};

template <class _Arg1, class _Arg2>
struct project1st : public _Project1st<_Arg1, _Arg2> {};

template <class _Arg1, class _Arg2>
struct project2nd : public _Project2nd<_Arg1, _Arg2> {};

//蹇界暐璋冪敤榪愮畻絎︽椂鐩稿簲鐨勫弬鏁?/P>

template <class _Result>
struct _Constant_void_fun {
  typedef _Result result_type;
  result_type _M_val;

  _Constant_void_fun(const result_type& __v) : _M_val(__v) {}
  const result_type& operator() const { return _M_val; }
}; 

template <class _Result, class _Argument>
struct _Constant_unary_fun {
  typedef _Argument argument_type;
  typedef  _Result  result_type;
  result_type _M_val;

  _Constant_unary_fun(const result_type& __v) : _M_val(__v) {}
  const result_type& operator()(const _Argument&) const { return _M_val; }
};

template <class _Result, class _Arg1, class _Arg2>
struct _Constant_binary_fun {
  typedef  _Arg1   first_argument_type;
  typedef  _Arg2   second_argument_type;
  typedef  _Result result_type;
  _Result _M_val;

  _Constant_binary_fun(const _Result& __v) : _M_val(__v) {}
  const result_type& operator()(const _Arg1&, const _Arg2&) const {
    return _M_val;
  }
};

//榪斿洖涓涓櫘閫氬彉閲忕殑const鍓湰,鏃犺鍙傛暟涓轟綍,鍙繑鍥炲悓涓涓肩殑鍑芥暟瀵硅薄

template <class _Result>
struct constant_void_fun : public _Constant_void_fun<_Result> {
  constant_void_fun(const _Result& __v) : _Constant_void_fun<_Result>(__v) {}
}; 

template <class _Result,
          class _Argument __STL_DEPENDENT_DEFAULT_TMPL(_Result)>
struct constant_unary_fun : public _Constant_unary_fun<_Result, _Argument>
{
  constant_unary_fun(const _Result& __v)
    : _Constant_unary_fun<_Result, _Argument>(__v) {}
};


template <class _Result,
          class _Arg1 __STL_DEPENDENT_DEFAULT_TMPL(_Result),
          class _Arg2 __STL_DEPENDENT_DEFAULT_TMPL(_Arg1)>
struct constant_binary_fun
  : public _Constant_binary_fun<_Result, _Arg1, _Arg2>
{
  constant_binary_fun(const _Result& __v)
    : _Constant_binary_fun<_Result, _Arg1, _Arg2>(__v) {}
};

//__STL_DEPENDENT_DEFAULT_TMPL 鏄竴涓畯錛屾剰鎬濇槸濡傛灉緙栬瘧鍣ㄤ笉鏀寔榛樿妯℃澘鍙傛暟錛屽垯浣跨敤涓婁竴綰фā鏉垮弬鏁?BR>
template <class _Result>
inline constant_void_fun<_Result> constant0(const _Result& __val)
{
  return constant_void_fun<_Result>(__val);
}

template <class _Result>
inline constant_unary_fun<_Result,_Result> constant1(const _Result& __val)
{
  return constant_unary_fun<_Result,_Result>(__val);
}

template <class _Result>
inline constant_binary_fun<_Result,_Result,_Result>
constant2(const _Result& __val)
{
  return constant_binary_fun<_Result,_Result,_Result>(__val);
}

//鍑芥暟榪斿洖涓涓彧榪斿洖甯擱噺鍜岃緭鍏ュ弬鏁版棤鍏崇殑鍑芥暟瀵硅薄



chenchen 2005-12-27 21:14 鍙戣〃璇勮
]]>
久久国产精品77777| 久久精品一区二区影院| 欧美亚洲日本久久精品| 久久精品国产精品国产精品污| 蜜桃麻豆WWW久久囤产精品| 人人狠狠综合久久亚洲| 亚洲成人精品久久| 精品久久久久久无码免费| 国产精品成人99久久久久 | 韩国无遮挡三级久久| 91精品国产综合久久久久久| 2020久久精品国产免费| 久久久久久人妻无码| 久久精品亚洲日本波多野结衣 | 久久本道伊人久久| 国产一级持黄大片99久久| 日本精品久久久久中文字幕| 蜜桃麻豆www久久| 久久丝袜精品中文字幕| 久久久久99这里有精品10| 久久人与动人物a级毛片| 国内精品久久久久影院薰衣草| 亚洲色欲久久久综合网东京热| 国产精品久久久久久吹潮| 久久久久久久尹人综合网亚洲| 岛国搬运www久久| 国产69精品久久久久久人妻精品| 欧美熟妇另类久久久久久不卡| 丰满少妇人妻久久久久久| 久久93精品国产91久久综合| 亚洲伊人久久成综合人影院| 日本欧美久久久久免费播放网| 色综合久久综合网观看| 久久性精品| 精品熟女少妇a∨免费久久| 久久国产热这里只有精品| 亚洲中文久久精品无码ww16 | 久久婷婷五月综合成人D啪| 狠狠色噜噜色狠狠狠综合久久| 久久久青草青青亚洲国产免观| 伊人久久国产免费观看视频|