Implement BOOST_OVERRIDE

This commit is contained in:
Glen Fernandes
2020-04-09 16:22:41 -04:00
parent b9eac83cb3
commit c6817bf70e
29 changed files with 181 additions and 2 deletions
+19
View File
@@ -0,0 +1,19 @@
/*
Copyright 2020 Glen Joseph Fernandes
(glenjofe@gmail.com)
Distributed under Boost Software License, Version 1.0.
(http://www.boost.org/LICENSE_1_0.txt)
*/
#include <boost/config.hpp>
struct base {
virtual void first() = 0;
virtual void second() { }
};
struct derived
: base {
void first() BOOST_OVERRIDE { }
void second() BOOST_OVERRIDE { }
};