本文整理汇总了C++中tree_iterator类的典型用法代码示例。如果您正苦于以下问题:C++ tree_iterator类的具体用法?C++ tree_iterator怎么用?C++ tree_iterator使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了tree_iterator类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1:
BOOST_INTRUSIVE_FORCEINLINE friend bool operator== (const tree_iterator& l, const tree_iterator& r)
{ return l.pointed_node() == r.pointed_node(); }
示例2: tree_iterator
BOOST_INTRUSIVE_FORCEINLINE tree_iterator(const tree_iterator &other)
: members_(other.pointed_node(), other.get_value_traits())
{}
示例3:
bool operator== (const tree_iterator& i) const
{ return members_.nodeptr_ == i.pointed_node(); }
示例4: tree_iterator
tree_iterator(tree_iterator<Container, false> const& other)
: members_(other.pointed_node(), other.get_container())
{}
示例5:
friend bool operator== (const tree_iterator& l, const tree_iterator& r)
{ return l.pointed_node() == r.pointed_node(); }
示例6: tree_iterator
tree_iterator(tree_iterator<real_value_traits, false> const& other)
: members_(other.pointed_node(), other.get_real_value_traits())
{}
示例7: base
bool operator!=(tree_iterator const & rhs) const
{
return adaptor_type::base() != rhs.base();
}