Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.c++.moderated    |    Moderated discussion of C++ superhackery    |    33,346 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 32,899 of 33,346    |
|    Martin Bonner to Edward Diener    |
|    Re: currying pointer to member functions    |
|    07 Mar 13 16:06:06    |
      From: martinfrompi@yahoo.co.uk              On Thursday, March 7, 2013 1:36:53 PM UTC, Edward Diener wrote:       > Let me suggest you give up your 10 year old or more compiler (I am       > guessing VC6)              VC2003 would fit the description.              > for something more modern. In a modern compiler you       > could use std::function and std::bind, both of which came out of       > boost::function and boost::bind respectively.              Ha! I guess this is a legacy code base. Shifting from one compiler       version to another is an *expensive* operation. There will probably       be a number of compilation errors that need fixing (if the code       uses /werror and /w4, then there will probably be a HUGE number of       these).              More worryingly, the code almost certainly invokes some undefined       behaviour somewhere, but this happened to work with the old       compiler. A new compiler may well make it stop working. Senior       management (correctly) are unlikely to pay for these costs, unless       there are some significant benefits to go with them.              std::function is unlikely to cut it.                     --        [ See http://www.gotw.ca/resources/clcm.htm for info about ]        [ comp.lang.c++.moderated. First time posters: Do this! ]              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca