Passing initializer lists to functions should work in principle (see http://connect.microsoft.com/VisualStudio/feedback/details/794651/c-11-compiler-bug-when-passing-2-initializer-lists-to-a-function). However, I failed to compile the MWE in this ticket with g++ and with clang.