mirror of
https://gitlab.com/fbb-git/cppannotations
synced 2024-11-18 10:06:54 +01:00
repaired typo
git-svn-id: https://cppannotations.svn.sourceforge.net/svnroot/cppannotations/trunk@503 f6dd340e-d3f9-0310-b409-bdd246841980
This commit is contained in:
parent
ba39bd7b90
commit
db9ab58daf
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ like this:
|
|||
}
|
||||
)
|
||||
The move constructor (and other move operations!) must realize that the
|
||||
distructor not only deletes tt(d_string), but also considers tt(d_size). A
|
||||
destructor not only deletes tt(d_string), but also considers tt(d_size). A
|
||||
member implementing move operations should therefore not only set tt(d_string)
|
||||
to zero but also tt(d_size). The previously shown move constructor for
|
||||
tt(Strings) is therefore incorrect. Its improved implementation is:
|
||||
|
|
Loading…
Reference in a new issue