本文介绍了范围分辨率算子???????的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我们可以在C ???中使用范围解析运算符(::)


sushant

解决方案




不,这是一个特定于c ++的kludge。


Erik


-

+ --------------------------------- -------------------------- +

Erik de Castro Lopo (是的,这是有效的)

+ --------- -------------------------------------------------- +

对我来说,C ++似乎是一种牺牲了正交性的语言

和随意权宜的优雅。 - Meil​​ir Page-Jones






No.


-

Keith Thompson(The_Other_Keith)< http://www.ghoti.net/~kst>

圣地亚哥超级计算机中心< *> < http://users.sdsc.edu/~kst>

我们必须做点什么。这是事情。因此,我们必须这样做。


hi ,

can we use scope resolution operator (::) in C???

sushant

解决方案



No, that is a c++ specific kludge.

Erik

--
+-----------------------------------------------------------+
Erik de Castro Lopo no****@mega-nerd.com (Yes it''s valid)
+-----------------------------------------------------------+
"To me C++ seems to be a language that has sacrificed orthogonality
and elegance for random expediency." -- Meilir Page-Jones




The only reason to do so would be to access some member of a namespace
or class - neither of which C has. What application did you have in mind?
--
Derrick Coetzee




No.

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.


这篇关于范围分辨率算子???????的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-13 05:52