diff --git a/doc/optional.html b/doc/optional.html index 9c60bae..c794e2c 100644 --- a/doc/optional.html +++ b/doc/optional.html @@ -119,7 +119,7 @@ if ( p.second ) languages as a discriminated union of T and nil_t. Discriminated unions are often called variants. A variant has a current type, which in our case is either T or nil_t.
- Using the Boost.Variant library, this model can be implemented + Using the Boost.Variant library, this model can be implemented in terms of boost::variant<T,nil_t>.
There is precedence for a discriminated union as a model for an optional value: the Haskell Maybe builtin type constructor,