Results 1 to 7 of 7

Thread: problem using template

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: problem using template

    Qt Code:
    1. populate(*l);
    To copy to clipboard, switch view to plain text mode 
    J-P Nurmi

  2. #2
    Join Date
    Jan 2006
    Posts
    976
    Thanks
    53
    Qt products
    Qt3
    Platforms
    Windows

    Default Re: problem using template

    1.
    Qt Code:
    1. error C2664: 'populate' : cannot convert parameter 1 from 'Queue<Type,size>' to 'Queue<Type> &'
    2. with
    3. [
    4. Type=int,
    5. size=20
    6. ]
    7. and
    8. [
    9. Type=int
    10. ]
    To copy to clipboard, switch view to plain text mode 
    2. Could be possible define my own iterator on the queue in the way that I can do this:
    Qt Code:
    1. Queue<int,20>::_iterator it;
    To copy to clipboard, switch view to plain text mode 
    Regards

Similar Threads

  1. QTimer problem ... it runs but never triggs
    By yellowmat in forum Newbie
    Replies: 4
    Last Post: 4th July 2006, 12:54
  2. Grid Layout Problem
    By Seema Rao in forum Qt Programming
    Replies: 2
    Last Post: 4th May 2006, 12:45
  3. Problem with bitBlt
    By yellowmat in forum Newbie
    Replies: 1
    Last Post: 5th April 2006, 14:08
  4. fftw problem
    By lordy in forum General Programming
    Replies: 1
    Last Post: 16th March 2006, 21:36
  5. Replies: 16
    Last Post: 7th March 2006, 15:57

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.