Базовая настройка

This commit is contained in:
Антон 2024-11-07 19:29:20 +03:00
parent a45e36c83a
commit 3d28e35d10

View File

@ -1,10 +1,14 @@
#include <iostream> #include <iostream>
#include <boost/optional/optional.hpp>
using namespace std; using namespace std;
using namespace boost;
int main() int main()
{ {
cout << "Hello, World!" << endl; optional<string> opt_string = "Hello, World!"s;
return 0 cout << opt_string.value() << endl;
return 0;
} }