public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Proposal: allow to extend C++ template argument deduction via plugins
@ 2022-07-14 16:46 Dan Klishch
  2022-07-15 14:18 ` Ben Boeckel
  0 siblings, 1 reply; 3+ messages in thread
From: Dan Klishch @ 2022-07-14 16:46 UTC (permalink / raw)
  To: gcc

Hi,

As far as I understand the currently available plugin extension points, it is
not possible to modify template argument deduction algorithm (except the
theoretical possibility to completely override parsing step). However, such
opportunity might be beneficial for projects like libpqxx, for example, when
database schema and query text are available at compile-time, return types of
the query might be inferred by the plugin.

I propose to add something like PLUGIN_FUNCTION_CALL plugin_event which will
allow to modify function calls conditionally. Will a patch adding such
functionality be welcomed?

Thanks,
Dan Klishch

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-07-15 16:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-14 16:46 Proposal: allow to extend C++ template argument deduction via plugins Dan Klishch
2022-07-15 14:18 ` Ben Boeckel
2022-07-15 16:25   ` Dan Klishch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).