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)