boost visitor - class name as template parameter - repost

Finalizat Postat la Mar 11, 2013 S-au achitat serviciile după ce au fost prestate
Finalizat S-au achitat serviciile după ce au fost prestate

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.

Programare C++

ID Proiect: #4323845

Detalii despre proiect

6 propuneri Proiect la distanță Activ Mar 14, 2013

Acordat lui:

martinhinsch

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

%selectedBids___i_sum_sub_7%%project_currencyDetails_sign_sub_8% USD în 2 zile
(0 Recenzii)
0.0

6 freelanceri plasează o ofertă medie de 48$ pentru proiect

hbxfnzwpf

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

$65 USD în 1 zi
(14 recenzii)
4.3
wjx823

I am interested in this job.

$50 USD în 2 zile
(1 părere)
2.4
monsterkane

I can help you with this.

$40 USD în 3 zile
(1 părere)
1.0
bhaveshkhatarani

i will do it.

$50 USD în 3 zile
(0 recenzii)
0.0
JInfoteck

I will do this for u...

$50 USD în 5 zile
(0 recenzii)
0.0