nat在boost c++库源代码中的含义
Meaning of nat in boost c++ library source
在boost c++库的某些部分中,您可以阅读以下内容:
template<>
struct add_reference<void>
{
typedef const nat &type;
};
或
struct nat {int for_bool;};
nat是首字母缩略词吗?如果不是,它的意义是什么?
我在type_traits.hpp中看到了这个nat,它似乎不是一个类型;事实上,对于void
的情况,它就像是template<class T> struct add_reference<T&>
的特殊化;它似乎代表了对void的引用,它可能是为了实现的完整性。
相关文章:
- 理解boost::asio-async_read在无需读取内容时的行为
- boost::进程间消息队列引发错误
- 如何运行位于boost/libs/python/example/tutorial目录中的hello.cpp和Jamfil
- 在Linux中哪里可以找到互斥、未来等的源代码
- cmake如何在fedora工作站中找到boost静态库包
- 在发送源代码时省略未使用的boost src文件的策略
- 从源代码构建 MySQL 连接器/C++(找不到 Boost 库错误)
- 从源代码编译后未安装 Boost ptr_container库
- nat在boost c++库源代码中的含义
- 在Windows上从源代码构建Boost of Point云库时出错
- 如何避免在Visual Studio中调试到Boost源代码中
- 链接项目源代码与boost测试下的CMake
- Boost日志打印源代码文件名和行号
- 是否有一些类似于boost program_options的c++库/源代码,但用于*键盘快捷键自动生成帮助*
- 使用Boost源代码的链接器错误
- 链接boost与自己的头和源代码
- 在哪里获得boost线程源代码
- 正在构建用于编译boost的Openssl源代码
- 获取源代码树中 boost:shared_ptr get 方法的所有用法的列表
- 从源代码构建pcl-1.7.1时链接到boost库