#ifndef Rice__detail__traits__hpp_ #define Rice__detail__traits__hpp_ namespace Rice { namespace detail { /** * Remove const from a type */ template struct remove_const { typedef T Type; }; template struct remove_const { typedef T Type; }; /** * Remove a reference from a type */ template struct remove_ref { typedef T Type; }; template struct remove_ref { typedef T Type; }; /** * Do both of the above in one easy step */ template struct sanitize { typedef T Type; //typedef typename remove_const< //typename remove_ref::Type //>::Type Type; }; } } #endif // Rice__detail__traits__hpp_