{
typedef _range_template<T, _inlist_access_traits> _base_type;
typedef typename _base_type::value_type value_type;
+ typedef typename _base_type::native_handle_type native_handle_type;
- range_inlist(Eina_Inlist* list)
+ range_inlist(native_handle_type list)
: _base_type(list) {}
template <typename Allocator>
range_inlist(inlist<value_type, Allocator>& list)
std::swap(_handle, other._handle);
}
protected:
- native_handle_type _handle;
+ native_handle_type _handle;
};
template <typename T, typename Traits>
typedef typename std::remove_const<T>::type value_type;
typedef typename std::conditional<is_mutable::value, _mutable_range_template<value_type, Traits>
, _const_range_template<value_type, Traits> >::type _base_type;
- typedef typename Traits::template native_handle<T>::type native_handle_type;
+ typedef typename _base_type::native_handle_type native_handle_type;
typedef value_type& reference;
typedef value_type const& const_reference;