id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 9436,Add predefined concept for contextual conversion to bool,akrzemi1@…,Steven Watanabe,"One concept that is often useful in many types is a contextual conversion to bool. The following expressions should be valid with the concept: {{{ if (o) {} if (!o) {} return bool(o); }}} Add a predefined concept that catches these requirement. A possible implementation: {{{ namespace boost { namespace type_erasure { template struct testable { static bool apply(const T& arg) { return bool(arg); } }; template struct concept_interface, Base, T> : Base { explicit operator bool () const { return call(testable(), *this); } }; }} }}}",Feature Requests,new,To Be Determined,type_erasure,Boost 1.54.0,Not Applicable,,operator bool(),