Boost logo

Boost :

Subject: Re: [boost] [config] Feature request: BOOST_OVERRIDE
From: Sergey Cheban (s.cheban_at_[hidden])
Date: 2013-07-12 14:04:28

12.07.2013 20:26, John Maddock пишет:

> and then the BOOST_FINAL/BOOST_OVERRIDE macros become
> trivial. The process for adding new macros is documented here:
Please note that Visual Studio knows "final" since vc11 and knows
"sealed" since at least vc7. So, it's reasonable to write something like

#if _MSC_VER < 1700 // 1700 == VC++ 11.0
# define BOOST_FINAL sealed

somewhere in the config/compiler/visualc.hpp and something like

# ifndef BOOST_FINAL
# define BOOST_FINAL
# endif
# define BOOST_FINAL final

in the config/suffix.hpp. See
for details.

Best regards,
Sergey Cheban

Boost list run by bdawes at, gregod at, cpdaniel at, john at