PK
--
You received this message because you are subscribed to the Google Groups "cxx" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cxx+uns...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/cxx/CAF3XrKo0qUmq%3DBRRLy-N9N6f7FYyMvxptzCkLQFR%3DNuBnft3kw%40mail.gmail.com.
But I hadn't realized there was a style guide against default args on virtual methods... Think we could make an exception here?
The style guide's argument is that the same can be done with overloads and in the case of virtual methods, resolution is less confusing. But in this case that's not true, the default arg must be resolved at the callsites, can't just have a Location-less overload resolve to the "default".
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/cxx/CAJTZ7LKm_vKEBxgS29hce1mD67ME%2BfqsAaRx3n7%3DSicjtqqBTQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/cxx/CAERSRDBX5-qn2XHeSB8%3DLU6X4xXXJZsB0Gi2U7d2KPmnGQgu9A%40mail.gmail.com.