Commit 659e82ad by Paolo Carlini Committed by Paolo Carlini

hashtable.h: Trivial formatting fixes.

2004-06-15  Paolo Carlini  <pcarlini@suse.de>

	* include/ext/hashtable.h: Trivial formatting fixes.
	* include/ext/rb_tree: Likewise.

From-SVN: r83183
parent d1238423
2004-06-15 Paolo Carlini <pcarlini@suse.de>
* include/ext/hashtable.h: Trivial formatting fixes.
* include/ext/rb_tree: Likewise.
2004-06-14 Paolo Carlini <pcarlini@suse.de> 2004-06-14 Paolo Carlini <pcarlini@suse.de>
* include/ext/hash_map: Trivial formatting fixes. * include/ext/hash_map: Trivial formatting fixes.
......
// rb_tree extension -*- C++ -*- // rb_tree extension -*- C++ -*-
// Copyright (C) 2002 Free Software Foundation, Inc. // Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
// //
// This file is part of the GNU ISO C++ Library. This library is free // 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 // software; you can redistribute it and/or modify it under the
...@@ -81,17 +81,18 @@ namespace __gnu_cxx ...@@ -81,17 +81,18 @@ namespace __gnu_cxx
*/ */
template <class _Key, class _Value, class _KeyOfValue, class _Compare, template <class _Key, class _Value, class _KeyOfValue, class _Compare,
class _Alloc = allocator<_Value> > class _Alloc = allocator<_Value> >
struct rb_tree : public _Rb_tree<_Key, _Value, _KeyOfValue, _Compare, _Alloc> struct rb_tree
{ : public _Rb_tree<_Key, _Value, _KeyOfValue, _Compare, _Alloc>
typedef _Rb_tree<_Key, _Value, _KeyOfValue, _Compare, _Alloc> _Base; {
typedef typename _Base::allocator_type allocator_type; typedef _Rb_tree<_Key, _Value, _KeyOfValue, _Compare, _Alloc> _Base;
typedef typename _Base::allocator_type allocator_type;
rb_tree(const _Compare& __comp = _Compare(), rb_tree(const _Compare& __comp = _Compare(),
const allocator_type& __a = allocator_type()) const allocator_type& __a = allocator_type())
: _Base(__comp, __a) { } : _Base(__comp, __a) { }
~rb_tree() { } ~rb_tree() { }
}; };
} // namespace __gnu_cxx } // namespace __gnu_cxx
#endif #endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment