Pointers to functions

I've tried looking up forums and web articles about this, but they either focus on replacing functions pointes with virtual functions in classes or complicated template and/or containers used with function pointers.

I just want to know simply if function pointers are bad practice... If they are not used in any classes or structs.
Sometimes, but not necessarily. They have their uses. Although with safer alternatives available in C++, their practicality has been reduced so they're not as common to use.
What are these alternatives, if I may ask?
Virtual functions. Functors.

They're not necessarily drop-in replacements. They're more of a design shift.
Oh, okay. Thanks!
Topic archived. No new replies allowed.