| 282 | // function with the given signature, name, capture, and source. |
| 283 | template<class Signature, class CaptureTuple> |
| 284 | inline closure<Signature, CaptureTuple> |
| 285 | make_closure_impl(const char *name, |
| 286 | const char *arguments, |
| 287 | const CaptureTuple &capture, |
| 288 | const char *capture_string, |
| 289 | const std::string &source) |
| 290 | { |
| 291 | std::stringstream s; |
| 292 | s << make_closure_declaration<Signature>(name, arguments, capture, capture_string); |
| 293 | s << source; |
| 294 | |
| 295 | return closure<Signature, CaptureTuple>(name, capture, s.str()); |
| 296 | } |
| 297 | |
| 298 | } // end detail namespace |
| 299 | } // end compute namespace |
nothing calls this directly
no outgoing calls
no test coverage detected