https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107784
Jonathan Wakely changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107784
--- Comment #9 from Jonathan Wakely ---
I'm not interested in encouraging people to use it, that just makes my job
harder. But if you want to use it, it exists.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107784
--- Comment #8 from Jörg Richter ---
To be honest, I can't tell from the description that this option unlocks a
libstdc++ that makes no allowance for ABI incompatibilities.
If you had a libstdc++ that didn't care about the ABI, similar to boos
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107784
Jonathan Wakely changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107784
--- Comment #7 from Jonathan Wakely ---
It already has such a mode, and has done for many many years.
See --enable-symvers=gnu-versioned-namespace
https://gcc.gnu.org/onlinedocs/libstdc++/manual/configure.html
Nobody bothers to use it, so main
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107784
--- Comment #6 from Jörg Richter ---
It's not that I'm intentionally using bind_front without further arguments. I
just stumbled across it when I was developing code that could output the target
of a std::function<>. As I've stumpelt upon it, I
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107784
--- Comment #5 from Jonathan Wakely ---
Complete patch:
--- a/libstdc++-v3/include/std/functional
+++ b/libstdc++-v3/include/std/functional
@@ -995,9 +995,68 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
std::tuple<_BoundArgs...> _M_bound_args;
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107784
--- Comment #4 from Jonathan Wakely ---
(In reply to Jörg Richter from comment #0)
> The resulting functor is too big to be stored inline in a std::function.
Why wouldn't you just store &Foo::func in the std::function instead?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107784
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107784
--- Comment #2 from Jörg Richter ---
I think it should only change the size of std::_Bind_front. This type should
not be used at any ABI relevant border. But even if it is, I should be
possible to just rename the type?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107784
Andrew Pinski changed:
What|Removed |Added
Keywords||ABI
--- Comment #1 from Andrew Pinski
11 matches
Mail list logo