I was wondering if it's possible to pass a member function pointer into a lambda capture list? I have tried just passing it but to no avail it did not work:
GetHeadline = RSSCrawler::Extract;
auto headlines = client.request(methods::GET).then([RSSCrawler::*GetHeadline](http_response response)
{ if (response.status_code() == status_codes::OK) { auto jsonContent = response.extract_json().get(); auto outcome = GetHeadline(jsonContent); wcout << jsonContent << endl; }
});