auto text = root()->addWidget(std::make_unique<Wt::WText>("Hello!"));
We’ve released Wt 4.0.1.
This release mostly patches up a few bugs. We’ve also added some small new features, and one more interesting one. We’ve thought about adding it in 4.0.0 but it didn’t quite make the cut. Now, after Peter Sommerlad mentioned it again after my CppCon talk, we had to add it!