If you have a function that takes a function pointer, you cannot pass in a functor as though it were a function pointer, even if the functor has the same arguments and return value as the function pointer.
This piece of music was composed by famous composer Richard Wagner in 1848 for his opera called Lohengrin. The second piece of music known as The Wedding March was composed by Felix Mendelssohn in 1842 as a march written for Shakespeareâs A Midsummer Nightâs Dream.
But few know that he and the Beach Boys' Dennis Wilson wrote the late-night radio request and wedding standard You Are So Beautiful together one night at a party. Beach Boys biographer Jon Stebbins tells the tale of the song in his Web site's FAQ.