Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the master branch, built from commit 5002c2d6a2.

Struct callable

boost::proto::callable — Base class for callable PolymorphicFunctionObjects


// In header: <boost/proto/proto_fwd.hpp>

struct callable {


When defining a callable PolymorphicFunctionObject, inherit from proto::callable so that it can be used to create a CallableTransform.

proto::is_callable<T>::value is true for types that inherit from proto::callable.