【发布时间】:2018-07-20 02:45:47
【问题描述】:
在the C++ standard中有如下定义:
template <class T, size_t N> void swap(T (&a)[N], T (&b)[N])
noexcept(noexcept(swap(*a, *b)));
noexcept(noexcept(swap(*a, *b))) 是做什么的?
【问题讨论】:
在the C++ standard中有如下定义:
template <class T, size_t N> void swap(T (&a)[N], T (&b)[N])
noexcept(noexcept(swap(*a, *b)));
noexcept(noexcept(swap(*a, *b))) 是做什么的?
【问题讨论】: