title: OpenGL: Can I create a vector with pointers to these functions?
body: <p>I want to create a vector in the GLWindow class with pointers to these functions:</p>
  <p>GLWindow:</p>
  <pre><code>using KeyCallback = std::function&lt;void(KeyCode, Action, Modifier)&gt;;
  using CursorPosCallback = std::function&lt;void(double, double)&gt;;
  using MouseCallback = std::function&lt;void(ButtonCode, Action, Modifier, double, double&gt;;
  using ScrollCallback = std::function&lt;void(double, double)&gt;;
  </code></pre>
  <p>Is this possible, or is there a more efficient way to do it?</p>