C++ function and bind examples

Boost documentation is good on these topics. Here is an example that I was playing with. For the purpose of discussion, ordinary (non-member) functions are called free functions, objects of type function are called functions and objects of class with overloaded operator() are functors.

binders.cpp

Sample is tested under Linux and FreeBSD, gcc 4.8.1.

ready.

10 print "mail: contact at alepho.com | skype: karastojko | gtalk: karastojko | icq: 367100012 | stackoverflow: karastojko"
20 print "(c) 2009-2017 www.alepho.com"