Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1056745
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T17:45:39+00:00 2026-05-16T17:45:39+00:00

As the title might convey, I’m having problems seeing how Boost Bind, Boost Function,

  • 0

As the title might convey, I’m having problems seeing how Boost Bind, Boost Function, Boost Signals and C++ function pointers all play together.

From my understanding, Boost Bind and Boost Function in conjunction work like Signals while Signals is an abstraction above Bind and Function.

Also, compared to standard C++ function pointers, why is Boost Function/Bind preferable?

Hopefully you can help me clear up some of my confusion here. Basically I’m trying to find the best/easiest callback solution using C++. 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T17:45:39+00:00Added an answer on May 16, 2026 at 5:45 pm

    See here a discussion on the different concepts of c-function-pointers, boost function and boost signal.

    Imho the main difference between the two boost function objects and c-function-pointers is the ability to add default parameters. This makes it easy to use methods (functions with a invisible first parameter -> the this pointer) as function objects. It is as well possible to adapt functions that require parameters to be used as function objects with different arguments.

    Signal/Slot is a differnt thing: It allows you to publish a signal that clients can subscribe to. The signal can be seen as a list of function pointers. Clients can add their function pointers to the list. When the signal is called all function pointers in the list are informed/called.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

the title might be a little bit confusing, let me explain, ;) I have
The title might not explain my problem fully but I wasn't sure how to
I asked a question , title of which might have been misleading so I'm
Does that title sound confusing? I thought it might well anyways. When I person
Apologies for the long winded title but looking for a solution to what might
I know the title isn't very clear. I'm new to PHP, so there might
Here's the fiddle: http://jsfiddle.net/scZtb/1/ Be warned, as the title suggests, this might crash your
Title pretty much describes it, I just need to get all the order numbers
Title sais it all really. private bool addToBinary(byte[] msg, string filepath) { bool succ
the title might be too generic, but I have a very specific question about

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.