mirror of
https://github.com/boostorg/concept_check.git
synced 2025-07-29 12:07:42 +02:00
Dummy-Constructor only for gcc > 4.
[SVN r61185]
This commit is contained in:
@ -331,7 +331,8 @@ namespace boost
|
||||
f(arg);
|
||||
}
|
||||
|
||||
#if BOOST_WORKAROUND(__GNUC__, BOOST_TESTED_AT(4))
|
||||
#if (BOOST_WORKAROUND(__GNUC__, BOOST_TESTED_AT(4) \
|
||||
&& BOOST_WORKAROUND(__GNUC__, > 3)))
|
||||
// Declare a dummy construktor to make gcc happy.
|
||||
// It seems the compiler can not generate a sensible constructor when this is instantiated with a refence type.
|
||||
// (warning: non-static reference "const double& boost::UnaryFunction<YourClassHere>::arg"
|
||||
|
Reference in New Issue
Block a user