C++ with pattern matching (and as a dynamic alnguage)

With Python recently introducing pattern matching and with it on the radar for C++, maybe Julia should also adopt it (not just through a package)?

Anyway, for people to see how it will be done in C++:

C++ (and C) is of course a static language, but I found interesting it’s also dynamic.

the language has one little bit of support for dynamic typing

[otherwise all the dynamic stuff is in the standard library, as opposed to the language.]