I have a Map std::map, which comes from the boost::program_options package. Now I would like to print the content o
std::map
boost::program_options
Try using xany https://sourceforge.net/projects/extendableany/?source=directory xany class allows to add new methods to any's existing functionality. By the way there is a example in documentation which does exactly what you want.