
On Sat, May 3, 2025, 10:47 Дмитрий Архипов via Boost <boost@lists.boost.org> wrote:
чт, 1 мая 2025 г. в 01:03, Andrzej Krzemienski via Boost <boost@lists.boost.org>:
Even if this was true, this is not necessarily an argument in favour of open methods. You can also have a non-intrusive polymorphism on class hierarchies, as proposed in P2688R5 (pattern matching) and implemented in Mach7 (https://github.com/solodon4/Mach7). ... The authors of N2216 (open methods) then switched to N3449 (pattern matching), as a more practical and safer solution to the same problem:
you
get the non-intrusive polymorphism and a guaranteed static checking.
Andrzej, if you don't find the time to write a review please still elaborate on this point in a regular post, I find it very interesting.
I intend to submit a review within the review period. Just need a couple days to formulate it clearly. Regards, &rzej;