]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Simplify traits.h using C++17
authorTom Tromey <tromey@adacore.com>
Fri, 20 Dec 2024 20:45:51 +0000 (13:45 -0700)
committerTom Tromey <tromey@adacore.com>
Mon, 6 Jan 2025 13:46:35 +0000 (06:46 -0700)
commit99e2df0090faba0705aabd2792fe427de20b8e46
tree3ba017fca581b2256de952f5f900672c308cfaa2
parenta189db13c4889548be4439314a956f2ab910166b
Simplify traits.h using C++17

This patch simplifies gdbsupport/traits.h by reusing some C++17 type
traits.  I kept the local names, since they are generally better.

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31423
Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdbsupport/traits.h