Simple wrapper around std::function . This class is usefull to construct print helpers for raw_ostream. Example: Printable PrintRegister(unsigned Register) { return Printable([Register](raw_ostream &OS) { OS << getRegisterName(Register); } } ... OS << PrintRegister(Register); ... Implementation note: Ideally this would just be a typedef, but doing so leads to operator << being
source not stored for this graph (policy: none)
no outgoing calls
no test coverage detected