forked from boostorg/concept_check
Added needed dummy constructor - stops some compilers complaining about
uninitialised const-members [SVN r13296]
This commit is contained in:
@@ -353,6 +353,9 @@ struct require_same { typedef T type; };
|
|||||||
template <class Func, class Return, class Arg>
|
template <class Func, class Return, class Arg>
|
||||||
struct UnaryFunctionConcept
|
struct UnaryFunctionConcept
|
||||||
{
|
{
|
||||||
|
// required in case any of our template args are const-qualified:
|
||||||
|
UnaryFunctionConcept();
|
||||||
|
|
||||||
void constraints() {
|
void constraints() {
|
||||||
r = f(arg); // require operator()
|
r = f(arg); // require operator()
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user