summaryrefslogtreecommitdiff
path: root/7p43.cpp
blob: fb1b86b13dd6bf96a5eb154c3276e46a04ec55c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#include <iostream>

/*
 *
 * 7.43
 *
 *
 */

class NoDefault {
public:
	NoDefault(int j): i(j) {}
	int geti() {return i;}
private:
	int i;
};

class C {
public:
	C(): nd(0) { }
private:
	NoDefault nd;
};

int main () {

	C c;
	return 0;
}