From 8595b531f78cf1bf0bc00d504a2eb188339cca8d Mon Sep 17 00:00:00 2001 From: cxl Date: Wed, 13 May 2015 06:30:56 +0000 Subject: [PATCH] .docs git-svn-id: svn://ultimatepp.org/upp/trunk@8443 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/Core/srcdoc.tpp/Tutorial$en-us.tpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/uppsrc/Core/srcdoc.tpp/Tutorial$en-us.tpp b/uppsrc/Core/srcdoc.tpp/Tutorial$en-us.tpp index d55eb9487..92ab0d3d9 100644 --- a/uppsrc/Core/srcdoc.tpp/Tutorial$en-us.tpp +++ b/uppsrc/Core/srcdoc.tpp/Tutorial$en-us.tpp @@ -527,8 +527,8 @@ but has some more convenient features (like Create method).&] [s7; &] [s7; &] [s5; One represents a convenient and recommended method how to deal -with class factories in U`+`+: Define then as function with reference -to One parameter, e.g.:&] +with class factories in U`+`+: Define them as a function (or method) +with reference to One parameter, e.g.:&] [s7; void MakeDerived1(One`& t)&] [s7; `{&] [s7; -|t.Create();&] @@ -554,7 +554,7 @@ to One parameter, e.g.:&] [s3; 12. Any&] [s5; Any is a container that can contain none or one element of [*/ any] type, the only requirement is that the type has default constructor. -Impotant thing to remember is that [* Is] method matches [/ exact] +Important thing to remember is that [* Is] method matches [/ exact] type ignoring class hierarchies (FileIn is derived from Stream, but if Any contains FileIn, Is() returns false).&] [s7; void Do([* Any]`& x)&]