- 博客(3)
- 资源 (2)
- 收藏
- 关注
原创 How vector increases its size
template class _Tp, class _Alloc>void _VECTOR_IMPL_Tp, _Alloc>::_M_insert_overflow( pointer __pos, const _Tp& __x, const __true_type& /**//*_TrivialCpy*/, size_type __fill_len, bool __atend ) ..
2006-12-17 13:58:00 517
原创 Checkout the iterator type
#ifndef _STLP_USE_OLD_HP_ITERATOR_QUERIES #define _STLP_ITERATOR_CATEGORY(_It, _Tp) __iterator_category(_It, _IsPtrType_Tp>::_Ret()) // _IsPtrType::_Ret() checks if pointer type // retu
2006-12-17 13:55:00 548
原创 _IsPtrType -- STL type checking on compile-time -- Substitution Failure Is Not An Error (SFINAE)
struct __true_type {};struct __false_type {};//bool to typetemplate int _Is> struct __bool2type { typedef __true_type _Ret; };template // icl supports both kinds of partial specializationstruct _
2006-12-17 13:41:00 573
sgi 的STL参考文献
2008-09-18
cplusplus.com的C++参考HTML转chm
2008-09-18
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人