Scala, yes, but not C++ at all. Indirectly from C#, perhaps (and there is a fair bit of that), but there is very little that borrows from C++ at the language level.
The if let x = whatever {} syntax in Swift is damn brilliant after looking at a ton of C# code with the as check.
https://leverich.github.io/swiftislikescala/
And also, a comparison to C#:
http://pietschsoft.com/post/2014/06/07/Basic-Comparison-of-C...