由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - Nested classes inside one class (C++)
相关主题
C++ Q88: nested non-template class (转载)大侠们救命, C++ operator new 问题
C++ interview programming exercise码工试题 (转载)
class implQuestion about name resolution in C++
ask a C++ inheritance questionjava main的疑问
三个C syntax 弱问题有没有办法让一个类的变量只读,不是const?
C++ interview questions help问一个C++的问题
经典C++问题求助问个C++ 编译器临时变量的问题 (转载)
find bugs of c++ codesWhat does the default constructor do?
相关话题的讨论汇总
话题: fooa话题: foob话题: class话题: nested话题: c++
进入Programming版参与讨论
1 (共1页)
s*****e
发帖数: 33
1
Want to have the following definitions:
class Foo
{
private:
class FooA
{
};
struct FooB
{
int x_;
FooA *p_;
}
}
Do you know how to make the above definition possible, basically, how to make
FooA is accessible from FooB? Thanks a lot.
1 (共1页)
进入Programming版参与讨论
相关主题
What does the default constructor do?三个C syntax 弱问题
写惯了C++ code,再写C code真不习惯C++ interview questions help
c++中的inline 函数是做什么的?经典C++问题求助
请教struct inside class的问题(C++)find bugs of c++ codes
C++ Q88: nested non-template class (转载)大侠们救命, C++ operator new 问题
C++ interview programming exercise码工试题 (转载)
class implQuestion about name resolution in C++
ask a C++ inheritance questionjava main的疑问
相关话题的讨论汇总
话题: fooa话题: foob话题: class话题: nested话题: c++