#include #include "uCalc.h" using namespace std; using namespace uCalcSoftware; int main() { uCalc uc; { uCalc::String s("user:admin"); s.Owned(); // Causes s to be released when it goes out of scope auto key = s.Before(":"); cout << key << endl; } }