- typedef typename std::conditional<std::is_const<Owner>::value,
- typename Owner::item_list::const_iterator,
- typename Owner::item_list::iterator>::type child_iterator;
-
- typedef std::shared_ptr<Item> value_type;
+ typedef typename Owner::item_list::const_iterator child_iterator;
+ typedef shared_ptr<Item> value_type;