aboutsummaryrefslogtreecommitdiff
path: root/cpp06/ex00/optional.hpp
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-11-12 10:54:47 +0100
committerCharles Cabergs <me@cacharle.xyz>2020-11-12 10:54:47 +0100
commit96dcf214a8c40529b251ea31ef037868583dd1da (patch)
treeecbb74fd1982829b550f5b5f5451497245db1358 /cpp06/ex00/optional.hpp
parent2e0cf63a219d24ef07412deca9b0e6cb02882b46 (diff)
downloadpiscine_cpp-96dcf214a8c40529b251ea31ef037868583dd1da.tar.gz
piscine_cpp-96dcf214a8c40529b251ea31ef037868583dd1da.tar.bz2
piscine_cpp-96dcf214a8c40529b251ea31ef037868583dd1da.zip
Fixing cpp03, moved more common logic in ClapTrap, Added better main
Diffstat (limited to 'cpp06/ex00/optional.hpp')
-rw-r--r--cpp06/ex00/optional.hpp28
1 files changed, 0 insertions, 28 deletions
diff --git a/cpp06/ex00/optional.hpp b/cpp06/ex00/optional.hpp
deleted file mode 100644
index 2c77ae3..0000000
--- a/cpp06/ex00/optional.hpp
+++ /dev/null
@@ -1,28 +0,0 @@
-/* ************************************************************************** */
-/* */
-/* ::: :::::::: */
-/* optional.hpp :+: :+: :+: */
-/* +:+ +:+ +:+ */
-/* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */
-/* +#+#+#+#+#+ +#+ */
-/* Created: 2020/04/16 11:43:24 by charles #+# #+# */
-/* Updated: 2020/04/16 11:45:26 by charles ### ########.fr */
-/* */
-/* ************************************************************************** */
-
-#ifndef OPTIONAL_HPP
-# define OPTIONAL_HPP
-
-template<typename T>
-class Optional
-{
-public:
- Optional();
- bool hasValue() const;
- T& getValue();
-
-private:
- T m_value;
-};
-
-#endif