]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdbsupport: Replace gdb::invoke_result with std::invoke_result
authorLancelot Six <lancelot.six@amd.com>
Fri, 13 Oct 2023 12:39:55 +0000 (12:39 +0000)
committerLancelot Six <lancelot.six@amd.com>
Tue, 21 Nov 2023 11:52:36 +0000 (11:52 +0000)
commit70d02be7e369e8763bf3238eb7c6ae7f9efb5429
tree459590d351ef1d66cd99734dca5f80448eea3b47
parent393be56421a81e44c8728c8b31df66b319697398
gdbsupport: Replace gdb::invoke_result with std::invoke_result

Given that GDB now requires C++17, we can replace gdb::invoke_result
with std::invoke_result which is provided by <type_traits>.

This patch also removes gdbsupport/invoke-result.h as it is not used
anymore.

Change-Id: I7e567356d38d6b3d85d8797d61cfc83f6f933f22
Approved-By: Tom Tromey <tom@tromey.com>
Approved-By: Pedro Alves <pedro@palves.net>
gdbsupport/filtered-iterator.h
gdbsupport/function-view.h
gdbsupport/invoke-result.h [deleted file]
gdbsupport/parallel-for.h
gdbsupport/safe-iterator.h