On 19 February 2014 09:31, Jonathan Wakely wrote: > On 19 February 2014 09:29, Graziano Servizi wrote: >> Hi, everybody. >> >> I would ask how to specialize the template class in subject. > > Don't. > > std::initializer_list is a magic type and if you try to specialize it > then chaos will ensue. > > Just don't. We're going to fix the standard to make it clear this is illegal: http://cplusplus.github.io/LWG/lwg-active.html#2129