From 8bc13ff21fe4497743d3dadb8237d07cd0192c7f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 26 May 2010 17:18:05 +0200 Subject: Fix a typo --- documentation/cxx/tree/guide/index.xhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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
 person_t::middle_name_optional n ("John");
 
-if (n.preset ())
+if (n.present ())
 {
   cout << n.get () << endl;
 }
-- 
cgit v1.1