bk-tree  0.1.4
Header-only Burkhard-Keller tree library
Public Types | Public Member Functions | Friends | List of all members
bk_tree::BKTree< Metric >::Iterator Class Reference

BK-tree class iterator. More...

#include <bktree.hpp>

Public Types

using iterator_category = std::forward_iterator_tag
 
using difference_type = std::ptrdiff_t
 
using value_type = std::unique_ptr< node_type >
 
using pointer = std::unique_ptr< node_type > *
 
using reference = std::unique_ptr< node_type > &
 

Public Member Functions

 Iterator (pointer ptr)
 
pointer operator-> ()
 
reference operator* () const
 
Iteratoroperator++ ()
 
Iterator operator++ (int)
 

Friends

bool operator== (const Iterator &a, const Iterator &b)
 
bool operator!= (const Iterator &a, const Iterator &b)
 

Detailed Description

template<typename Metric>
class bk_tree::BKTree< Metric >::Iterator

BK-tree class iterator.


The documentation for this class was generated from the following file: