aboutsummaryrefslogtreecommitdiff
path: root/src/expected.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/expected.hpp')
-rw-r--r--src/expected.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/expected.hpp b/src/expected.hpp
index 4555d92..fff0d81 100644
--- a/src/expected.hpp
+++ b/src/expected.hpp
@@ -1,3 +1,9 @@
+/**
+ * @file expected.hpp
+ * @author Felix Morgner (felix.morgner@gmail.com)
+ * @since 1.0.0
+ */
+
#ifndef WANDA_EXPECTED_HPP
#define WANDA_EXPECTED_HPP
@@ -7,6 +13,9 @@
namespace wanda
{
+ /**
+ * @brief A type to represent the error case of a computation based on #wanda::expected
+ */
template<typename ErrorType>
struct unexpected
{