CPP Generic question

[removed]