Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-138659

QTextBoundaryFinder is copyable (deep-copies lookup tables), but not movable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.10.0 Beta2
    • None

      QTextBoundaryFinder is a pretty heavy object, seeing as it unconditionally creates an attribute table half the size of the string being inspected.

      Yet it can be copied (in O(string.size() time), but not moved (which would only require constant time).

      Add the missing move operations; also either deprecate the copy SMFs or completely rewrite the thing to not require this up-front table.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            cnn Qt Core & Network
            mmutz Marc Mutz
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes