コンパイル時に一部の型がコピー不可であることを判断する方法はありますか? 以下が必要です:
template<typename T, unsigned long long MaxSize>
struct circular_buffer : boost::noncopyable {
static_assert(typeof(T) ?????, "T must be noncopyable!");
};
コンパイル時に一部の型がコピー不可であることを判断する方法はありますか? 以下が必要です:
template<typename T, unsigned long long MaxSize>
struct circular_buffer : boost::noncopyable {
static_assert(typeof(T) ?????, "T must be noncopyable!");
};