Skip to content

AsyncTask: Do not use std::result_of#9389

Closed
pobrn wants to merge 1 commit intokeepassxreboot:developfrom
pobrn:get_rid_of_std_result_of
Closed

AsyncTask: Do not use std::result_of#9389
pobrn wants to merge 1 commit intokeepassxreboot:developfrom
pobrn:get_rid_of_std_result_of

Conversation

@pobrn
Copy link
Copy Markdown
Contributor

@pobrn pobrn commented May 4, 2023

`std::result_of` was deprecated in C++17 and then it was
subsequently removed in C++20. One could use `std::invoke_result_t`,
but let Qt figure out the return type instead.

@pobrn pobrn force-pushed the get_rid_of_std_result_of branch from d4d16b1 to 4a8a826 Compare May 4, 2023 21:21
`std::result_of` was deprecated in C++17 and then it was
subsequently removed in C++20. One could use `std::invoke_result_t`,
but let Qt figure out the return type instead.
@pobrn pobrn force-pushed the get_rid_of_std_result_of branch from 4a8a826 to ddbabfb Compare May 5, 2023 17:00
@pobrn pobrn mentioned this pull request May 6, 2023
@droidmonkey droidmonkey closed this May 6, 2023
@droidmonkey
Copy link
Copy Markdown
Member

Incorporated into the Botan3 fixes PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants