{}语法问题

return {}; // 语法正确
return a > b ? res : {}; // 语法错误

跟emplace一样,语法不统一。

posted on 2017-02-25 16:05  ivancjw  阅读(141)  评论(0编辑  收藏  举报

导航