合成和非继承的类成员 [英] Synthesized and non-inherited class members

查看:95
本文介绍了合成和非继承的类成员的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你能告诉我C ++语言合成了多少类成员

的类类型?一个班级中哪些成员不是来自父母

班级?


我读过C ++编程语言一书,但是没有

所有班级成员的详细信息和完整描述,对于班级作曲来说,他们不是很重要吗?你能详细解释特殊班级

的行为吗?非常感谢。

Could you tell me how many class members the C++ language synthesizes
for a class type? Which members in a class aren''t derived from parent
classes?

I have read the book The C++ Programming Language, but there isn''t a
detail and complete description on all the class members, aren''t they
important to class composing? Could you explain the special class
behavior in detail? Thank you very much.

推荐答案



lovecreatesbea ... @ gmail.com写道:

lovecreatesbea...@gmail.com wrote:

你能告诉我C ++语言合成了多少类成员

类类型?一个班级中哪些成员不是来自父母

班级?


我读过C ++编程语言一书,但是没有

所有班级成员的详细信息和完整描述,对于班级作曲来说,他们不是很重要吗?你能详细解释特殊班级

的行为吗?非常感谢你。
Could you tell me how many class members the C++ language synthesizes
for a class type? Which members in a class aren''t derived from parent
classes?

I have read the book The C++ Programming Language, but there isn''t a
detail and complete description on all the class members, aren''t they
important to class composing? Could you explain the special class
behavior in detail? Thank you very much.



请阅读以下内容:
http://www.parashift.com/c++-faq-lite/how-to-post.html

Please read the following:
http://www.parashift.com/c++-faq-lite/how-to-post.html




" Salt_Peter D'μà£o"

"Salt_Peter D′μà£o"

lovecreatesbea ... @ gmail.com写道:
lovecreatesbea...@gmail.com wrote:

你能告诉我有多少班级成员C ++语言为类类型合成了

?一个班级中哪些成员不是来自父母

班级?


我读过C ++编程语言一书,但是没有

所有班级成员的详细信息和完整描述,对于班级作曲来说,他们不是很重要吗?你能详细解释特殊班级

的行为吗?非常感谢你。
Could you tell me how many class members the C++ language synthesizes
for a class type? Which members in a class aren''t derived from parent
classes?

I have read the book The C++ Programming Language, but there isn''t a
detail and complete description on all the class members, aren''t they
important to class composing? Could you explain the special class
behavior in detail? Thank you very much.



请阅读以下内容:
http://www.parashift.com/c++-faq-lite/how-to-post.html



谢谢。


你的意思是它是一个家庭作业问题还是常见问题?你为什么要把b $ b引导到那个链接?我曾经读过Scott Meyers的热门书籍Effective

C ++,在第二版的一个版本中,他说一对&

运算符是用这种语言合成的。 br />

我也认为这个问题很重要,对我来说也不难。如果您确认答案确实是专家,那么我想真诚地向您寻求帮助



Thank you.

Do you mean it is a homework problem or it is a FAQ problem? Why do you
direct me to that link? I ever read Scott Meyers popular book Effective
C++, in one print of its second edition, he said that a pair of &
operators are synthesized by the language.

I also think this question is important and not difficult to me. If you
experts know the answer exactly, I would like to ask for your help
sincerely.




" lovecreatesbea ... @ gmail.com D'μà£o

"

"lovecreatesbea...@gmail.com D′μà£o
"

" Salt_Peter D'μà£o"
"Salt_Peter D′μà£o"

lovecreatesbea ... @ gmail.com写道:
lovecreatesbea...@gmail.com wrote:

你能告诉我有多少班级成员C ++语言为类类型合成了

?一个班级的哪些成员不是来自父母

班级?

>

我读过C ++编程语言一书但是对于所有班级成员来说,并没有详细说明和完整的描述,对于班级作曲来说,他们不是很重要吗?你能详细解释特殊班级

的行为吗?非常感谢你。
Could you tell me how many class members the C++ language synthesizes
for a class type? Which members in a class aren''t derived from parent
classes?
>
I have read the book The C++ Programming Language, but there isn''t a
detail and complete description on all the class members, aren''t they
important to class composing? Could you explain the special class
behavior in detail? Thank you very much.



请阅读以下内容:
http://www.parashift.com/c++-faq-lite/how-to-post.html



谢谢。


你的意思是它是一个家庭作业问题还是常见问题?你为什么要把b $ b引导到那个链接?我曾经读过Scott Meyers的热门书籍Effective

C ++,在第二版的一个版本中,他说一对&

运算符是用这种语言合成的。 br />

我也认为这个问题很重要,对我来说也不难。


Thank you.

Do you mean it is a homework problem or it is a FAQ problem? Why do you
direct me to that link? I ever read Scott Meyers popular book Effective
C++, in one print of its second edition, he said that a pair of &
operators are synthesized by the language.

I also think this question is important and not difficult to me.



对不起上面的拼写错误,我的意思是这对我来说很重要而且很难,

来到这里寻求你的帮助。请帮帮我。

Sorry for the typo above, I mean it''s important and difficult to me,
and come here asking for your help. Please help me.


这篇关于合成和非继承的类成员的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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