C/C++/STL
文章平均质量分 85
visayafan
这个作者很懒,什么都没留下…
展开
-
【C++】limits头文件 numeric_limits
http://blog.csdn.net/netrookie/article/details/5530578 初学C++的时候,对这个模板很陌生,不知道它到底是做什么用的,今天拿起《C++标准程序库》,出现了它的讨论,所以决定好好研究一番。 1. numeric_limits是什么? (A)《C++标准程序库》: view plain 一般来说转载 2011-11-24 16:48:07 · 5185 阅读 · 0 评论 -
【C++】std的subnamespace rel_ops
namespace rel_ops { template bool operator!= (const T&, const T&); template bool operator> (const T&, const T&); template bool operator<= (const T&, const T&); template bool operator>= (c原创 2011-11-24 17:27:12 · 1980 阅读 · 0 评论 -
【C++】cstddef中4个定义
size_t size_t corresponds to the integral data type returned by the language operator sizeof and is defined in the header file (among others) as an unsigned integral type. size_t = unsigned int原创 2011-11-24 17:44:47 · 3861 阅读 · 0 评论 -
【C++】cstdlib中exit/abort/atexit
http://www.cplusplus.com/reference/clibrary/cstdlib/abort/ http://www.cplusplus.com/reference/clibrary/cstdlib/exit/ http://www.cplusplus.com/reference/clibrary/cstdlib/atexit/ exit Terminat原创 2011-11-24 19:49:10 · 1940 阅读 · 0 评论 -
bind1st bind2nd的使用
http://blog.csdn.net/xqls_xqls/article/details/4332494 bind1st和bind2nd函数用于将一个二元算子(binary functor,bf)转换成一元算子(unary functor,uf)。为了达到这个目的,它们需要两个参数:要转换的bf和一个值(v)。 可能这么解释以后大家转载 2011-11-25 15:28:47 · 919 阅读 · 0 评论