由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - interview question (ZT)
相关主题
c++问题Synthesized Constructor到底什么意思?
问个构造函数的问题[合集] 又学了一招
log4j 谁熟悉?请教个Bloomberg 的 C++ 题目
关于Java一个小程序的结果Is the order of initialization a, b, c or c, b, a?
What does the default constructor do?一个c++ constructor的问题, thanks
问个Spring LDAP searchFilter 配置问题question about Design Patterns
underscore usage in C++ namec++ question
请教几个C++问题what is the difference?
相关话题的讨论汇总
话题: args话题: public话题: arg话题: question
进入Programming版参与讨论
1 (共1页)
y****n
发帖数: 84
1
发信人: jsyzghan (退休民兵), 信区: Quant
标 题: 高盛 C++ 面试题
关键字: '高盛' 'C++' '面试' '题' 'constructor'
发信站: BBS 未名空间站 (Fri Sep 18 15:55:20 2009, 美东)
Given two classes:
class B
{
public:
B(args_1);
B(args_2);
// and many constructors with different arg lists
};
class D : public B
{
public:
D(args_1) : B(args_1) {}
D(args_2) : B(args_2) {}
// and many constructors with different signatures similarly implemented
// some additional stuff specific to D
};
Assume that the arg list for B's constructors are quite long
g*****u
发帖数: 298
2
答案,anyone?
t****t
发帖数: 6806
3
templated constructor

【在 g*****u 的大作中提到】
: 答案,anyone?
1 (共1页)
进入Programming版参与讨论
相关主题
what is the difference?What does the default constructor do?
菜鸟请教smart pointer问个Spring LDAP searchFilter 配置问题
How does YAHOO calculate RSI? (转载)underscore usage in C++ name
请教template和factory有啥区别?请教几个C++问题
c++问题Synthesized Constructor到底什么意思?
问个构造函数的问题[合集] 又学了一招
log4j 谁熟悉?请教个Bloomberg 的 C++ 题目
关于Java一个小程序的结果Is the order of initialization a, b, c or c, b, a?
相关话题的讨论汇总
话题: args话题: public话题: arg话题: question