boost visitor - class name as template parameter - repost

Completed Posted Mar 11, 2013 Paid on delivery
Completed Paid on delivery

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.

C++ Programming

Project ID: #4323845

About the project

6 proposals Remote project Active Mar 14, 2013

Awarded to:

martinhinsch

15+ years of experience with C++. Looks like an easy task.

$30 USD in 2 days
(0 Reviews)
0.0

6 freelancers are bidding on average $48 for this job

hbxfnzwpf

c++ expert, it is easy to me, please let me do it.

$65 USD in 1 day
(14 Reviews)
4.3
wjx823

I am interested in this job.

$50 USD in 2 days
(1 Review)
2.4
monsterkane

I can help you with this.

$40 USD in 3 days
(1 Review)
1.0
bhaveshkhatarani

i will do it.

$50 USD in 3 days
(0 Reviews)
0.0
JInfoteck

I will do this for u...

$50 USD in 5 days
(0 Reviews)
0.0