title: _Callable and bind, get function pointer out of it?
body: <p>So I has this function that puts other functions onto array. So I can launch them later.</p>
  <pre><code> inline vector&lt; function&lt;void()&gt;&gt; ImGui_array(1000);
  
  //forwarded and pushed to dear ImGui loop
      template&lt;typename _Callable, typename... _Args&gt;
      void ImGui_push(_Callable&amp;&amp; __f, _Args&amp;&amp;... __args) {
          for (auto&amp; Im : ImGui_array) {
              if (Im == nullptr) {
                  Im = std::bind(std::forward&lt;_Callable&gt;(__f), std::forward&lt;_Args&gt;(__args)...);
                  break;
              }
          }
      }
  </code></pre>
  <p>So that Im that is pushed onto array. Can I get later some info out of it? Like pointer to a function that was pushed? There is Im.target() but I am not sure how to use it.</p>