I have a problem with duplication of identical code for const and non-const versions. I can illustrate the problem with some code. Here are two s
const
You could use const_cast and change VisitorRead's method signature so it also take's const T& as a parameter, but I think that is an ugly solution.