return {}; // 语法正确 return a > b ? res : {}; // 语法错误
跟emplace一样,语法不统一。
{}语法问题
原文:http://www.cnblogs.com/ivancjw/p/6442049.html