Template class to manipulate bits of und - 项目摘要 |
摘要
| 管理 |
论坛 文档
| 软件包 |
|
|
|
项目描述: |
This template class is for manipulation bits of undefined type. It's usually for unsigned type but you can use it with signed type.
Most of the methods are inline for speed.
The method "print", in case of decimal value, formats only unsigned value. With signed type, the signe is lost (formally not lost but it won't be printed).
这个模板类用于处理无定义类型的位。它通常用于无符号类型,但也可以用于有符号类型。大多数方法是内联函数以加快速度。"print"方法只处理十进制格式的无符号数。对于有符号数,符号将丢失。
来源: http://www.codeguru.com/cpp_mfc/bit_manipulation_undef_type.shtml |
类别: |
|
发布者:
cbd002
|
|
最新发布源码包 |
软件包 |
版本号 |
日期 |
本地下载 |
bit_manipulation_undef |
 1.0  |
2004-04-14 |
下载 |
|
|