Win 驱动里面有没有 STL可以用啊??

专制的网站 2013-01-10 08:24:45
RT
在驱动里想用 map之类的,但是貌似驱动里不能直接用 STL...

难道只能自己写代码实现想要的功能??(红黑树之类...)

或者驱动里虽然不能直接用map,但是有没有类似的东西可以用???






...全文
211 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
这不是鸭头 2013-01-10
  • 打赏
  • 举报
回复
驱动一般都不用这些东西吧...
Eleven 2013-01-10
  • 打赏
  • 举报
回复
没有,还是得自己实现
蒋晟 2013-01-10
  • 打赏
  • 举报
回复
We do not recommend using Standard Template Library functions in a kernel-mode driver, because it is not possible to assume that the Standard Template Library is there and “just works.” In the case of kernel-mode code, understanding precisely how a particular data structure is implemented helps assure that it does not violate the requirements of kernel space. It is also possible that a specialized implementation will be smaller than the more general Standard Template Library functions, although the library is often very good in that regard. http://msdn.microsoft.com/en-us/windows/hardware/gg487420.aspx
  • 打赏
  • 举报
回复
stl是有源码的,拷贝过去不就行了么

2,640

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC 硬件/系统
社区管理员
  • 硬件/系统社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧