有没有办法static_assert模板参数是不可复制的?

not*_*row 3 c++ static-assert noncopyable type-traits c++11

有没有办法确定某些类型在编译期间是不可复制的?我需要以下:

template<typename T, unsigned long long MaxSize>
struct circular_buffer : boost::noncopyable {
    static_assert(typeof(T) ?????, "T must be noncopyable!");
};
Run Code Online (Sandbox Code Playgroud)

Seb*_*edl 11

C++ 11具有is_copy_assignable和is_copy_constructible类型特征.断言两者都是假的.