Tizen支持C ++ 11标准 [英] Tizen support for C++ 11 standard

查看:271
本文介绍了Tizen支持C ++ 11标准的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开始使用Tizen应用程序开发人员。



我想知道当前支持Tizen上的C ++ 11功能是什么?



C ++ 11标准是否完全支持?

解决方案

Tizen 2.3 SDK附带clang ++版本3.4和gcc 4.8。



gcc 4.8已知不遵守C ++ 11和C ++ 14标准,clang ++ 3.4对于C ++ 11真的接近完成。 p>

但是,除了编译器,还有更多的C ++ 11合规性。您还需要在C ++库中有足够的支持。 GCC和Clang有不同的C ++库项目。
就我可以快速告诉,Tizen 2.3船版本2.13 - 这是从2011年。



所以不要让你的希望:语义,std :: mutex,std :: async将工作,但较小的细节,如线程本地存储不会。


I am beginning Tizen application developer.

I would like to know what is current support for C++11 features on Tizen?

When will the C++11 standard be fully supported? Maybe some platform developers could shed a light on that topic.

解决方案

The Tizen 2.3 SDK comes with clang++ version 3.4 and gcc 4.8.

gcc 4.8 is known to not adhere to the C++11 and C++14 standards, clang++ 3.4 is really close to complete for C++11.

However, there's more to C++11 compliance than just the compiler. You also need to have enough support in the C++ library. GCC and Clang have different C++ library projects. As far as I can quickly tell, Tizen 2.3 ships version 2.13 - which is from 2011.

So don't get your hopes up: things like move semantics, std::mutex, std::async will work, but smaller details like thread local storage will not.

这篇关于Tizen支持C ++ 11标准的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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