Ticket #2776: virtual_inheritance_to_be_exported.hpp
| File virtual_inheritance_to_be_exported.hpp, 462 bytes (added by , 14 years ago) |
|---|
| Line | |
|---|---|
| 1 | // Copyright 2004-2008 Roman Yakovenko. |
| 2 | // Distributed under the Boost Software License, Version 1.0. (See |
| 3 | // accompanying file LICENSE_1_0.txt or copy at |
| 4 | // http://www.boost.org/LICENSE_1_0.txt) |
| 5 | |
| 6 | #ifndef __virtual_inheritance_to_be_exported_hpp__ |
| 7 | #define __virtual_inheritance_to_be_exported_hpp__ |
| 8 | |
| 9 | struct base{ |
| 10 | virtual void do_smth() {} |
| 11 | }; |
| 12 | |
| 13 | struct derived : virtual public base |
| 14 | { |
| 15 | }; |
| 16 | |
| 17 | #endif//__virtual_inheritance_to_be_exported_hpp__ |
