You have chosen to sponsor your bid up to a maximum amount of .
The attached compiles and run (boost 1.53.0/MSVC 2010). At present 'example_visitor::value_type visitor ;' is hardcoded within Foo class. .
a) I need code modifed to accept class name as template parameter. In other words, code should accept "user_defined_class::value_type" as template parameter where 'user_defined_class' will be a class name of users choice.
I'm ok with revising the 'factory' (i.e. the Foo class) implementation if necessary.