summaryrefslogtreecommitdiffstats
path: root/include/jau/cow_iterator.hpp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2021-01-09 09:31:55 +0100
committerSven Gothel <[email protected]>2021-01-09 09:31:55 +0100
commitb8baf4183a2eaa0195e55fe0c5a53101afbb8c45 (patch)
tree1b6c5f5bdbac13a1e20a06e7c14fcad447d8ea9a /include/jau/cow_iterator.hpp
parent9ef51759a5d1ef2866f4924ecfa1c9202dbff1c0 (diff)
basic_types: Adding general jau::to_string(..) handling: integral, floating, T::toString() and T::operator->(). The latter also retrieves iterator base pointer
The partial implementation has been removed from cow_iterator.hpp
Diffstat (limited to 'include/jau/cow_iterator.hpp')
-rw-r--r--include/jau/cow_iterator.hpp35
1 files changed, 0 insertions, 35 deletions
diff --git a/include/jau/cow_iterator.hpp b/include/jau/cow_iterator.hpp
index 2c66905..a49b087 100644
--- a/include/jau/cow_iterator.hpp
+++ b/include/jau/cow_iterator.hpp
@@ -50,41 +50,6 @@ namespace jau {
****************************************************************************************/
/**
- * iterator_type -> std::string conversion
- * @tparam iterator_type the iterator type
- * @param iter the iterator
- * @param if iterator_type is a class
- * @return the std::string represenation
- */
- template< class iterator_type >
- std::string to_string(const iterator_type & iter,
- typename std::enable_if<
- !std::is_pointer<iterator_type>::value
- >::type* = 0 )
- {
- return aptrHexString( (void*) ( iter.base() ) );
- }
-
- /**
- * iterator_type -> std::string conversion
- * @tparam iterator_type the iterator type
- * @param iter the iterator
- * @param if iterator_type is not a class
- * @return the std::string represenation
- */
- template< class iterator_type >
- std::string to_string(const iterator_type & iter,
- typename std::enable_if<
- std::is_pointer<iterator_type>::value
- >::type* = 0 )
- {
- return aptrHexString((void*)iter);
- }
-
- /****************************************************************************************
- ****************************************************************************************/
-
- /**
* Implementation of a Copy-On-Write (CoW) read-write iterator for mutable value_type.<br>
* Instance holds a copy of the CoW's value_type storage until destruction.
* <p>