diff --git a/include/boost/concept_check.hpp b/include/boost/concept_check.hpp index 4b820a7..882bd1d 100644 --- a/include/boost/concept_check.hpp +++ b/include/boost/concept_check.hpp @@ -353,6 +353,9 @@ struct require_same { typedef T type; }; template struct UnaryFunctionConcept { + // required in case any of our template args are const-qualified: + UnaryFunctionConcept(); + void constraints() { r = f(arg); // require operator() }