From 9541fc6e06d807949170367df605cfd23cbcb46e Mon Sep 17 00:00:00 2001 From: John Maddock Date: Thu, 28 Mar 2002 12:52:15 +0000 Subject: [PATCH] Added needed dummy constructor - stops some compilers complaining about uninitialised const-members [SVN r13296] --- include/boost/concept_check.hpp | 3 +++ 1 file changed, 3 insertions(+) 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() }