如果是升压凤凰有用吗? [英] When is boost phoenix useful?

查看:149
本文介绍了如果是升压凤凰有用吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


  

可能重复:结果
  有什么用Boost.Phoenix好处?


于是,我开始阅读提升凤凰的文档。

不过,我必须承认,我不太了解图书馆的目的,特别是因为我们有在C ++ 0x的lambda表达式语言支持。

可能有人请解释或者给我一个例子吗?


解决方案

嗯,不是所有的C ++编译器支持C ++ 0x中的一个开始。

然后有一些事情是不可能的的C ++ 0x但是是可能的凤凰。比如看到这一点:的C ++ 0x lambda表达式与模板参数

Possible Duplicate:
What are the benefits of using Boost.Phoenix?

So I started reading the documentation for boost phoenix.

However, I must admit that I don't quite understand the purpose of the library, especially since we have language support for lambdas in C++0x.

Could someone please explain or give me an example?

解决方案

Well, not all C++ compilers support C++0x for a start.

Then there are some things that are not possible with C++0x but that are possible with phoenix. See this for instance: C++0x lambdas with template parameters?.

这篇关于如果是升压凤凰有用吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆