Oddly enough, Objective-C, which seemed like a loser at the time, fared much better and still underpins the GUI classes in Apple’s operating systems. The simple syntax and dynamic nature of Obj-C gave it much better longevity.
(In addition to BeOS, there was another major commercial operating system created in the mid-90s with a pure C++ API. It was called Symbian, and unlike BeOS it was actually very popular for a while. In 2003-2011 hundreds of millions of Symbian devices were sold, mostly Nokia smartphones. But even though these devices supported native apps with advanced features like OpenGL, few apps were made because the API was so baroque, and anyway few users would discover the apps because there wasn’t a simple app store. Symbian is a great example of having the right ideas early but a completely wrong approach to implementing them.)