diff options
Diffstat (limited to 'doc/html/qt-template-lib.html')
-rw-r--r-- | doc/html/qt-template-lib.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/html/qt-template-lib.html b/doc/html/qt-template-lib.html index e4f75444f..68f443778 100644 --- a/doc/html/qt-template-lib.html +++ b/doc/html/qt-template-lib.html @@ -61,7 +61,7 @@ other TQPtrCollection based containers, provides far more sanity checking than a speed-optimized value based container. <p> If you have objects that implement value semantics, and the STL is not available on your target platform, the TQt Template Library can be used -instead. Value semantics retquire at least: +instead. Value semantics require at least: <ul> <li> a copy constructor; <li> an assignment operator; @@ -117,7 +117,7 @@ operator (it++, it--), since the former is slightly faster. <p> There are two kind of iterators, the volatile iterator shown in the examples above and a version that returns a const reference to its -current object, the ConstIterator. Const iterators are retquired +current object, the ConstIterator. Const iterators are required whenever the container itself is const, such as a member variable inside a const function. Assigning a ConstIterator to a normal Iterator is not allowed as it would violate const semantics. |