Website Summary Files Commits Branches @commit @diff @stats
path: root / Utills / si_14.06 / task1 / Source.cpp
blob: d8397a08510e7246644bdb351e958d3bf8eb0156 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include  <iostream>
#include "Optional/Optional.hpp"



int main()
{
	Optional<int> o;

	std::cout << o.containsValue() << std::endl;

	o.setValue(12);

	Optional<int> o2(12);

	std::cout << (o == o2) << std::endl;
}