id summary reporter owner description type status milestone component version severity resolution keywords cc 3617 big warnings from simple use of Boost.Concept_check Eric Niebler jsiek "The following code causes at least msvc and gcc to complain loudly: {{{ #include #include template BOOST_CONCEPT_REQUIRES( ((boost::UnaryFunction)), (void)) foo(T const &) { } void bar(int &) {} int main() { foo(&bar); } }}} The problem is that the definition of UnaryFunction (and most of the concepts) causes a non-static reference data member in a class without a constructor. " Bugs closed Boost 1.42.0 concept_check Boost Development Trunk Cosmetic worksforme warning concept check