
3 May
2025
3 May
'25
8:47 a.m.
чт, 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.