mirror of
https://github.com/KingDuckZ/dindexer.git
synced 2025-07-02 14:04:22 +00:00
Add assignment operators.
This commit is contained in:
parent
64b5affa4f
commit
7da13f6677
2 changed files with 45 additions and 0 deletions
|
@ -66,6 +66,13 @@ namespace mchlib {
|
|||
DirIterator ( VecIterator parBegin, VecIterator parEnd, const PathName* parBasePath, std::size_t parLevelOffset );
|
||||
~DirIterator ( void ) noexcept;
|
||||
|
||||
DirIterator& operator= ( DirIterator&& parOther );
|
||||
DirIterator& operator= ( const DirIterator& parOther );
|
||||
template <bool OtherConst>
|
||||
DirIterator& operator= ( typename std::enable_if<std::is_convertible<typename DirIterator<OtherConst>::VecIterator, VecIterator>::value, DirIterator<OtherConst>>::type&& parOther );
|
||||
template <bool OtherConst>
|
||||
DirIterator& operator= ( const typename std::enable_if<std::is_convertible<typename DirIterator<OtherConst>::VecIterator, VecIterator>::value, DirIterator<OtherConst>>::type& parOther );
|
||||
|
||||
private:
|
||||
void increment ( void );
|
||||
difference_type distance_to ( const DirIterator<Const>& parOther ) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue