Arthur O'Dwyer
Arthur O'Dwyer
The function pointer that is the target of the use-after-free was set with `rd_kafka_conf_set_log_cb`, and the log message it's trying to print comes from [this codepath](https://github.com/edenhill/librdkafka/blob/3b50e1e/src/rdkafka_broker.c#L2407-L2415) in `rd_kafka_broker_handle_ApiVersion`, kicked off...
Your reproducer includes code to spawn a thread and then immediately block until it's done (using `std::async`/`std::future`). Do you see the same memory leak happening if you eliminate that extra...
I don't personally care what the Core Guidelines say on this topic, but FWIW, if I had to write an enforcement check for this, I'd say: - A non-parameter _must...
> How predicates would be passed in the STL, if the STL was designed today? Isn't it possible that we'd use forwarding references to pass them? STL predicates must be...
@geza-herman wrote: > But what if STL predicates designed to be non-const-callable? Then they wouldn't be predicates. "[Predicate](https://en.wikipedia.org/wiki/Predicate_(mathematical_logic))" is a term with specific connotations. If you were designing something that...
Your `std::distance` doesn't trigger the issue; but anything that calls `_Get_unwrapped` does. For example, `std::copy`. https://godbolt.org/z/q5TeEO ``` struct Incomplete; template struct Holder { T t; }; int main() { using...
I think it's impossible to write a library that is immune to *all* variations on `Holder`. For example, you can't `sort` my array `a` — https://godbolt.org/z/FsV8tt — because `sort` inherently...
> restrict ADL for swap to enumeration and class types That would actually be philosophically safe (because non-enum/class types are primitive and therefore don't require any special swap semantics)... but...
> @Quuxplusone said he doesn't like the idea since he doesn't want the users to learn the [cutting-edge] cmake feature. Right. I'm willing to offer up the "Clang experimental P1144"...
@bretbrownjr: I can't speak for @TheRustifyer, but FWIW, _my_ interest in Modules-support-on-CE remains entirely the super newbie friendly version. I don't want to mess with CMake or multiple files or...