uniform initialization with variadic templates
问题 I have a POD ChParam and it's a parameter in the variadic template function set . I'd like to pass to function arguments(constructor parameters) in curly braces p.set({ Param::D, 1000.f }, { Param::p, 2000.f }) . And thought that the constructor will be called implicitly and the ChParam objects will be created. But it's impossible, I should explicitly create an object a.set(ChParam{ Param::D, 1000.f }, ChParam{ Param::p, 2000.f }); is it possible somehow to use the variant p.set({ Param::D,