boost::function

This is a discussion on boost::function within the C++ Programming forums, part of the General Programming Boards category; Hallo I have started to look into boost after one of my tutors told me that boost::function would be a ...

  1. #1
    Registered User
    Join Date
    Oct 2006
    Location
    UK/Norway
    Posts
    485

    boost::function

    Hallo

    I have started to look into boost after one of my tutors told me that boost::function would be a good way to solve a problem I had.

    But from reading the examples, I cant see why boost::function is better then having virtual functions . Is it almost the same, or am I missing something fundamental here?

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,558
    What was the problem?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Registered User C_ntua's Avatar
    Join Date
    Jun 2008
    Posts
    1,853

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. A Generic Reference-Counted Pointer Class (4 Bubba)
    By Codeplug in forum C++ Programming
    Replies: 46
    Last Post: 12-19-2004, 03:08 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21