|
Last change
on this file since 47 was
29,
checked in by landauf, 17 years ago
|
|
updated boost from 1_33_1 to 1_34_1
|
|
File size:
350 bytes
|
| Line | |
|---|
| 1 | /* Copyright Bruno da Silva de Oliveira 2003. Use, modification and |
|---|
| 2 | distribution is subject to the Boost Software License, Version 1.0. |
|---|
| 3 | (See accompanying file LICENSE_1_0.txt or copy at |
|---|
| 4 | http:#www.boost.org/LICENSE_1_0.txt) |
|---|
| 5 | */ |
|---|
| 6 | namespace inherit4 { |
|---|
| 7 | |
|---|
| 8 | struct A |
|---|
| 9 | { |
|---|
| 10 | int x; |
|---|
| 11 | }; |
|---|
| 12 | |
|---|
| 13 | struct B: A |
|---|
| 14 | { |
|---|
| 15 | int y; |
|---|
| 16 | }; |
|---|
| 17 | |
|---|
| 18 | struct C: B |
|---|
| 19 | { |
|---|
| 20 | int z; |
|---|
| 21 | }; |
|---|
| 22 | |
|---|
| 23 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.