// -*- C++ -*-
-// Copyright (C) 2005, 2006, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2005-2014 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the terms
{
namespace detail
{
- /// Binary search tree traits, primary template.
+ /// Binary search tree traits, primary template
+ /// @ingroup traits
template<typename Key,
typename Mapped,
class Cmp_Fn,
class Node_Itr,
class Cmp_Fn,
typename _Alloc>
- class Node_Update,
+ class Node_Update,
class Node,
typename _Alloc>
struct bin_search_tree_traits
_Alloc>
reverse_iterator;
+ /// This is an iterator to an iterator: it iterates over nodes,
+ /// and de-referencing it returns one of the tree's iterators.
typedef
bin_search_tree_const_node_it_<
Node,
};
/// Specialization.
+ /// @ingroup traits
template<typename Key,
class Cmp_Fn,
template<typename Node_CItr,
class Node_Itr,
class Cmp_Fn,
typename _Alloc>
- class Node_Update,
+ class Node_Update,
class Node,
typename _Alloc>
struct bin_search_tree_traits<
typedef const_reverse_iterator reverse_iterator;
+ /// This is an iterator to an iterator: it iterates over nodes,
+ /// and de-referencing it returns one of the tree's iterators.
typedef
bin_search_tree_const_node_it_<
Node,