<h1 id="occa::function">
 <a href="#/api/function/" class="anchor">
   <span>occa::function</span>
  </a>
</h1>

<h2 id="description">
 <a href="#/api/function/?id=description" class="anchor">
   <span>Description</span>
  </a>
</h2>

Represents the input `std::function`, its metadata (such as types), and its source code.

?> [occa::function](/api/function/) objects should only be created through the `OCCA_FUNCTION` macro.