replace tabs with 4 spaces
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@680 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
963152efd4
commit
30f4e933c1
14 changed files with 298 additions and 283 deletions
|
@ -7,7 +7,7 @@
|
|||
namespace yasli_nstd
|
||||
{
|
||||
template <class T>
|
||||
class fill_iterator_base
|
||||
class fill_iterator_base
|
||||
: public std::iterator<
|
||||
std::random_access_iterator_tag,
|
||||
T,
|
||||
|
@ -18,7 +18,7 @@ namespace yasli_nstd
|
|||
};
|
||||
|
||||
template <class T>
|
||||
class fill_iterator_base<T&>
|
||||
class fill_iterator_base<T&>
|
||||
: public std::iterator<
|
||||
std::random_access_iterator_tag,
|
||||
T,
|
||||
|
@ -50,7 +50,7 @@ namespace yasli_nstd
|
|||
}
|
||||
|
||||
template<class U>
|
||||
fill_iterator(const fill_iterator<U>& rhs)
|
||||
fill_iterator(const fill_iterator<U>& rhs)
|
||||
: value_(rhs.value_), count_(rhs.count_)
|
||||
{
|
||||
}
|
||||
|
@ -140,7 +140,7 @@ namespace yasli_nstd
|
|||
template <class T>
|
||||
inline bool operator!=(
|
||||
const fill_iterator<T>& lhs,
|
||||
const fill_iterator<T>& rhs)
|
||||
const fill_iterator<T>& rhs)
|
||||
{ // test for fill_iterator inequality
|
||||
return !(lhs == rhs);
|
||||
}
|
||||
|
@ -148,7 +148,7 @@ namespace yasli_nstd
|
|||
template <class T>
|
||||
inline bool operator<(
|
||||
const fill_iterator<T>& lhs,
|
||||
const fill_iterator<T>& rhs)
|
||||
const fill_iterator<T>& rhs)
|
||||
{
|
||||
return lhs.count_ < rhs.count_;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue