boost visitor - class name as template parameter

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.

Skills: C++ Programming

See more: programming factory, programming class, foo programming, factory programming, class programming, Boost , boost visitor, class template, fill word template class, present template, boost 2010, template class unity3d, latex report template class file, php class visitor tracking, template words, visitor guide template, users creat html flyer template, template users can upload, fatal error class template found vivvo, class addresses 500 users, visitor sign sheet template

About the Employer:
( 123 reviews ) Orlando, United States

Project ID: #4323840

2 freelancers are bidding on average $100 for this job


Hello! We're interested in taking up your project. Please PM us and we'll discuss the details. Thank you!

$99 USD in 2 days
(0 Reviews)

Hi, I am familiar with boost and templates. Can you please send me the cpp and the header files to me. I will have a look an let you know whether its technically possible. If its possible I will deliver the results More

$100 USD in 1 day
(0 Reviews)