diff options
-rw-r--r-- | documentation/cxx/tree/guide/index.xhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/cxx/tree/guide/index.xhtml b/documentation/cxx/tree/guide/index.xhtml index 476e7ea..c8f6157 100644 --- a/documentation/cxx/tree/guide/index.xhtml +++ b/documentation/cxx/tree/guide/index.xhtml @@ -1472,7 +1472,7 @@ class person_t <pre class="c++"> person_t::middle_name_optional n ("John"); -if (n.preset ()) +if (n.present ()) { cout << n.get () << endl; } |