Re: functors

Discussion in 'Python' started by Tom Plunket, Jul 3, 2003.

  1. Tom Plunket

    Tom Plunket Guest

    Mirko Zeibig wrote:

    > You don't need lambda here, just give the Countdown class a reference to your
    > callback-method by specifying it's name *without* parentheses :).


    Heh oh yeah. The "instance-bound methods" I guess this is called
    is what was really throwing me. :)

    Thanks- this is the solution that I was looking for. Dunno why I
    got stuck in the needing a lambda routine, but oh well. ;)

    -tom!
     
    Tom Plunket, Jul 3, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Paul MG
    Replies:
    2
    Views:
    401
    Dhruv
    Jul 3, 2003
  2. Rob Williscroft

    Re: Need help with generic functors....

    Rob Williscroft, Aug 17, 2003, in forum: C++
    Replies:
    3
    Views:
    355
    Gordon Scott
    Aug 18, 2003
  3. red floyd
    Replies:
    0
    Views:
    328
    red floyd
    Nov 13, 2003
  4. nsgi_2004

    functors

    nsgi_2004, Aug 12, 2004, in forum: C++
    Replies:
    2
    Views:
    470
    Karl Heinz Buchegger
    Aug 12, 2004
  5. Satish
    Replies:
    1
    Views:
    798
    David Hilsee
    Sep 10, 2004
Loading...

Share This Page