diff --git a/doc/optional.html b/doc/optional.html index fd1e2e5..ac786ea 100644 --- a/doc/optional.html +++ b/doc/optional.html @@ -9,7 +9,7 @@ -

Header <Header <boost/optional.hpp>

Contents

@@ -115,7 +115,7 @@ if ( p.second ) One of the typical ways in which this has been historically dealt with is via a special value: EOF,npos,-1, etc... This is equivalent to adding the special value to the set of possible values of a given type. This super set of - T plus some nil_t—were nil_t is some stateless POD—can be modeled in modern + T plus some nil_t—were nil_t is some stateless POD-can be modeled in modern 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.