Базовая настройка
This commit is contained in:
parent
a45e36c83a
commit
3d28e35d10
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user