reworked visitor, added simple cpp test

rebase

improve d_do_test

fix d_do_test.d

remove old cpp tests

remove trailing spaces
basic template support + comments + tests

value-type class hack

compilation fix

test for win64

fix win64 test

fix Windows mangling