Slava, please describe the problems you expect. I can not even foresee
a scenario in which that code would actually need anymaintenance.
That piece of code is a pattern -- described in a 13-year old book by
Alexandrescu called "Modern C++ Design: Generic Programming and
Design Patters Applied". AFAIK, nobody discovered any problem with
that pattern.

Regards,
Igor

On 04/01/2014 11:02 AM, slava77 wrote:
>
> In DataFormats/HcalRecHit/interface/rawEnergy.h:
>
> > @@ -0,0 +1,104 @@
> > +#ifndef DATAFORMATS_HCALRECHIT_RAWENERGY_H
>
> I see more problems maintaining this piece of code than a simple explicit instantiation replacing a dummy.
>
> —
> Reply to this email directly or view it on GitHub <https://github.com/cms-sw/cmssw/pull/3102/files#r11167030>.
>