mirror of
https://github.com/boostorg/optional.git
synced 2025-07-21 00:02:08 +02:00
Fix link to variant library
[SVN r21184]
This commit is contained in:
@ -119,7 +119,7 @@ if ( p.second )
|
||||
languages as a <b>discriminated union</b> of <code>T</code> and <code>nil_t</code>.
|
||||
Discriminated unions are often called <i>variants</i>. A variant has a <i>current type</i>,
|
||||
which in our case is either <code>T</code> or <code>nil_t</code>.<br>
|
||||
Using the <a href="../../variant/doc/index.html">Boost.Variant</a> library, this model can be implemented
|
||||
Using the <a href="../../../doc/html/variant.html">Boost.Variant</a> library, this model can be implemented
|
||||
in terms of <code>boost::variant<T,nil_t></code>.<br>
|
||||
There is precedence for a discriminated union as a model for an optional value: the
|
||||
<a href="http://www.haskell.org/"><u>Haskell</u></a> <b>Maybe</b> builtin type constructor,
|
||||
|
Reference in New Issue
Block a user