From 39e42179135dc489d62fd0971d51d655a1cd0d1d Mon Sep 17 00:00:00 2001 From: Simon Brand Date: Sun, 22 Oct 2017 09:53:43 +0100 Subject: [PATCH] Typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ba6d518..7f52a8d 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ The interface is the same as `std::optional`, but the following member functions * `tl::optional){}.conjunction(13); //empty` - `disjunction`: returns the argument if the optional is empty, otherwise the current value. * `tl::make_optional(42).disjunction(13); //42` - * `tl::optional){}.disjunction(13); //13` + * `tl::optional{}.disjunction(13); //13` - `take`: returns the current value, leaving the optional empty. * `opt_string.take().map(&std::string::size); //opt_string now empty;`