Results 1 to 2 of 2

Thread: Qwt 6: moving to size_t (unsigned) integer type for sizes and indexes was unfortunate

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,325
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qwt 6: moving to size_t (unsigned) integer type for sizes and indexes was unfortu

    Your observation is not 100% correct: size_t is inherited from Qwt5 ( AFAIR even earlier, see the history of QwtData ) invented at a time when Qt containers where also using unsigned. All what has been done in Qwt6 is to fix the inconsistent API of a wrapping method.
    When Qt development came up with a new template library it was not possible to simply adjust Qwt - remember Qwt5 supports Qt3/Qt4.

    But I agree, that using integers has become standard since Qt4 and it could be changed in Qwt as well.

    Uwe

  2. The following user says thank you to Uwe for this useful post:

    philw (5th October 2015)

Similar Threads

  1. int instead of size_t?
    By rubenvb in forum Qt Programming
    Replies: 5
    Last Post: 27th April 2017, 19:51
  2. Replies: 0
    Last Post: 24th May 2010, 12:19
  3. using directive and size_t in loop for
    By mickey in forum General Programming
    Replies: 5
    Last Post: 15th April 2008, 12:33
  4. Conversion from unsigned char* to unsigned char
    By santosh.kumar in forum General Programming
    Replies: 1
    Last Post: 6th August 2007, 13:12
  5. converting string to unsigned integer
    By mgurbuz in forum Qt Programming
    Replies: 4
    Last Post: 12th May 2006, 09:46

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.