boost visitor - class name as template parameter - repost

Ολοκληρωμένο Αναρτήθηκε Mar 11, 2013 Πληρώθηκε κατά την παράδοση
Ολοκληρωμένο Πληρώθηκε κατά την παράδοση

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++

Ταυτότητα Εργασίας: #4323845

Σχετικά με την εργασία

6 προτάσεις Απομακρυσμένη εργασία Ενεργό Mar 14, 2013

Ανατέθηκε στον:

martinhinsch

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

$30 USD σε 2 μέρες
(0 Αξιολογήσεις)
0.0

6 freelancers κάνουν προσφορές κατά μέσο όρο $48 για αυτή τη δουλειά

hbxfnzwpf

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

$65 USD σε 1 μέρα
(14 Αξιολογήσεις)
4.3
wjx823

I am interested in this job.

$50 USD σε 2 μέρες
(1 Κριτική)
2.4
monsterkane

I can help you with this.

$40 USD σε 3 μέρες
(1 Κριτική)
1.0
bhaveshkhatarani

i will do it.

$50 USD σε 3 μέρες
(0 Αξιολογήσεις)
0.0
JInfoteck

I will do this for u...

$50 USD σε 5 μέρες
(0 Αξιολογήσεις)
0.0