From 50d7c315d5085a836886d6f17ee6acf3b40f8da6 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Mon, 8 Dec 2003 14:18:54 +0000 Subject: [PATCH] Fix link to variant library [SVN r21184] --- doc/optional.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,