Concept: Remove obsolete GCC version checks.

[SVN r86057]
This commit is contained in:
Stephen Kelly
2013-09-30 15:54:47 +00:00
parent 724b43f885
commit dd7163b7f0
2 changed files with 1 additions and 10 deletions

3
include/boost/concept/assert.hpp Executable file → Normal file
View File

@@ -18,8 +18,7 @@
# if !defined(BOOST_NO_OLD_CONCEPT_SUPPORT) \
&& !defined(BOOST_NO_SFINAE) \
\
&& !(BOOST_WORKAROUND(__GNUC__, == 3) && BOOST_WORKAROUND(__GNUC_MINOR__, < 4)) \
&& !(BOOST_WORKAROUND(__GNUC__, == 2))
&& !(BOOST_WORKAROUND(__GNUC__, == 3) && BOOST_WORKAROUND(__GNUC_MINOR__, < 4))
// Note: gcc-2.96 through 3.3.x have some SFINAE, but no ability to
// check for the presence of particularmember functions.

View File

@@ -10,12 +10,6 @@
namespace boost { namespace concepts {
# if BOOST_WORKAROUND(__GNUC__, == 2)
# define BOOST_CONCEPT_USAGE(model) ~model()
# else
template <class Model>
struct usage_requirements
{
@@ -37,8 +31,6 @@ struct usage_requirements
# endif
# endif
}} // namespace boost::concepts
#endif // BOOST_CONCEPT_USAGE_DWA2006919_HPP