8 #ifndef _LIBQI_TRAITS_HPP_
9 # define _LIBQI_TRAITS_HPP_
11 #include <boost/noncopyable.hpp>
26 static no&
test(
typename C::_qi_not_clonable*);
31 static const bool value =
sizeof(test<T>(0)) ==
sizeof(
yes)
static no & test(typename C::_qi_not_clonable *)
void newAndAssign(T **ptr)
Detect if a type is using boost::noncopyable or QI_DISALLOW_COPY_AND_ASSIGN.