Skip to content

Instantly share code, notes, and snippets.

@madebyjeffrey
Created December 20, 2011 07:12
Show Gist options
  • Save madebyjeffrey/1500620 to your computer and use it in GitHub Desktop.
Save madebyjeffrey/1500620 to your computer and use it in GitHub Desktop.
/Users/drakej/Projects/Myron/Myron/main.cpp:36:24:{36:24-36:33}: error: no matching function for call to 'bind' [3]
main.close.connect(std::bind(close, std::ref(main)));
^~~~~~~~~
/Developer/usr/bin/../lib/c++/v1/functional:1789:1: note: candidate template ignored: couldn't infer template argument '_F' [3]
bind(_F&& __f, _BoundArgs&&... __bound_args)
^
/Developer/usr/bin/../lib/c++/v1/functional:1798:1: note: candidate template ignored: couldn't infer template argument '_R' [3]
bind(_F&& __f, _BoundArgs&&... __bound_args)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment