1 /* 2 Copyright 2020 Glen Joseph Fernandes 3 (glenjofe@gmail.com) 4 5 Distributed under Boost Software License, Version 1.0. 6 (http://www.boost.org/LICENSE_1_0.txt) 7 */ 8 #include <boost/config.hpp> 9 10 struct base { 11 virtual void first() = 0; secondbase12 virtual void second() { } 13 }; 14 15 struct derived 16 : base { firstderived17 void first() BOOST_OVERRIDE { } secondderived18 void second() BOOST_OVERRIDE { } 19 }; 20