OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2006-11-11 Paolo Carlini <pcarlini@suse.de>
[pf3gnuchains/gcc-fork.git]
/
libstdc++-v3
/
include
/
debug
/
safe_iterator.h
diff --git
a/libstdc++-v3/include/debug/safe_iterator.h
b/libstdc++-v3/include/debug/safe_iterator.h
index
cd30bf7
..
0d61a75
100644
(file)
--- a/
libstdc++-v3/include/debug/safe_iterator.h
+++ b/
libstdc++-v3/include/debug/safe_iterator.h
@@
-321,10
+321,22
@@
namespace __gnu_debug
_M_constant());
}
_M_constant());
}
+ /** Likewise, but not thread-safe. */
+ void
+ _M_attach_single(const _Sequence* __seq)
+ {
+ _Safe_iterator_base::_M_attach_single(const_cast<_Sequence*>(__seq),
+ _M_constant());
+ }
+
/** Invalidate the iterator, making it singular. */
void
_M_invalidate();
/** Invalidate the iterator, making it singular. */
void
_M_invalidate();
+ /** Likewise, but not thread-safe. */
+ void
+ _M_invalidate_single();
+
/// Is the iterator dereferenceable?
bool
_M_dereferenceable() const
/// Is the iterator dereferenceable?
bool
_M_dereferenceable() const