خرید بک لینک

Vote count: 0

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;
    }

});

asked 38 secs ago

- - , .
.

برچسب: نویسنده: استخدام کار تاريخ: شنبه 26 تير 1395 ساعت: 18:03

صفحه بندی