From b4e603d6018a0b43ad3ce9d3a1900ce784a2d07b Mon Sep 17 00:00:00 2001 From: angeld55 Date: Wed, 16 Jun 2021 16:56:02 +0300 Subject: utills --- Utills/si_14.06/task1/Source.cpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Utills/si_14.06/task1/Source.cpp (limited to 'Utills/si_14.06/task1/Source.cpp') diff --git a/Utills/si_14.06/task1/Source.cpp b/Utills/si_14.06/task1/Source.cpp new file mode 100644 index 0000000..d8397a0 --- /dev/null +++ b/Utills/si_14.06/task1/Source.cpp @@ -0,0 +1,17 @@ +#include +#include "Optional/Optional.hpp" + + + +int main() +{ + Optional o; + + std::cout << o.containsValue() << std::endl; + + o.setValue(12); + + Optional o2(12); + + std::cout << (o == o2) << std::endl; +} \ No newline at end of file -- cgit v1.3.1-23-gd82d