Is there any way to determine that some type is not being copied at compile time? I need the following:
template<typename T, unsigned long long MaxSize>
struct circular_buffer : boost::noncopyable {
static_assert(typeof(T) ?????, "T must be noncopyable!");
};
source
share