是否必须在C ++中实现C ++标准库? [英] Must a C++ Standard Library be implemented in C++?
本文介绍了是否必须在C ++中实现C ++标准库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
- 必须在C ++中实现符合标准的C ++标准库实现吗?
- 如果没有,是否允许使用纯C ++ &标准图书馆一些实现定义的行为?
- 我知道有并行实现依赖扩展(至少在C ++ 11之前),但它们是否真的符合?
- I am aware that there are parallel implementations that rely on extensions (in pre C++11 at least), but are they really conforming?
- I couldn't find any requirement in the standard, but maybe my standard-fu is weak today
推荐答案
否。
实际上,标准中甚至规定 #include< map>
例如)可以简单地导入一个预先存储的AST,而不是引用一个文件。
Actually, it is even prescribed by the Standard that #include <map>
(for example) could simply import a pre-stored AST and not refer to a file, at all.
这篇关于是否必须在C ++中实现C ++标准库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文