mirror of
https://github.com/boostorg/iterator.git
synced 2025-05-11 21:43:54 +00:00
Trim trailing spaces.
This commit is contained in:
parent
cf43da4286
commit
32d19a72e1
@ -22,7 +22,7 @@ namespace detail
|
|||||||
// and the result is computed in the nested rebind template.
|
// and the result is computed in the nested rebind template.
|
||||||
template <class Value>
|
template <class Value>
|
||||||
struct is_lvalue_iterator_impl
|
struct is_lvalue_iterator_impl
|
||||||
{
|
{
|
||||||
template <class It>
|
template <class It>
|
||||||
using DerefT = decltype(*std::declval<It&>());
|
using DerefT = decltype(*std::declval<It&>());
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ namespace detail
|
|||||||
struct rebind : std::is_convertible<
|
struct rebind : std::is_convertible<
|
||||||
decltype(*std::declval<It&>())
|
decltype(*std::declval<It&>())
|
||||||
, typename std::add_lvalue_reference<Value>::type
|
, typename std::add_lvalue_reference<Value>::type
|
||||||
>
|
>
|
||||||
{};
|
{};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ namespace detail
|
|||||||
struct iterator_pointee
|
struct iterator_pointee
|
||||||
{
|
{
|
||||||
typedef typename std::iterator_traits<Iterator>::value_type value_type;
|
typedef typename std::iterator_traits<Iterator>::value_type value_type;
|
||||||
|
|
||||||
typedef typename std::conditional<
|
typedef typename std::conditional<
|
||||||
std::is_const<
|
std::is_const<
|
||||||
typename std::remove_reference<decltype(*std::declval<Iterator&>())>::type
|
typename std::remove_reference<decltype(*std::declval<Iterator&>())>::type
|
||||||
|
@ -160,7 +160,7 @@ int main( void )
|
|||||||
|
|
||||||
// Undo change to vect1
|
// Undo change to vect1
|
||||||
ZI_TUPLE_GET(1)(ref_tuple) = dblOldVal;
|
ZI_TUPLE_GET(1)(ref_tuple) = dblOldVal;
|
||||||
|
|
||||||
#if defined(ZI_USE_BOOST_TUPLE)
|
#if defined(ZI_USE_BOOST_TUPLE)
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
@ -295,7 +295,7 @@ int main( void )
|
|||||||
++num_failed_tests;
|
++num_failed_tests;
|
||||||
std::cout << "not OK" << std::endl;
|
std::cout << "not OK" << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
@ -841,7 +841,7 @@ int main( void )
|
|||||||
++num_failed_tests;
|
++num_failed_tests;
|
||||||
std::cout << "not OK" << std::endl;
|
std::cout << "not OK" << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Done
|
// Done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user