Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Eliminate superfluous punctuation
Browse files Browse the repository at this point in the history
jaredhoberock committed Aug 31, 2012
1 parent 343b34d commit c58c834
Showing 7 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion thrust/detail/functional.inl
Original file line number Diff line number Diff line change
@@ -66,7 +66,7 @@ template<typename Result, typename Argument1, typename Argument2>
typedef Argument2 second_argument_type;
}; // end binary_traits_imp

}; // end detail
} // end detail

template<typename Operation>
struct unary_traits
8 changes: 4 additions & 4 deletions thrust/detail/type_traits/function_traits.h
Original file line number Diff line number Diff line change
@@ -39,13 +39,13 @@ namespace detail

// some metafunctions which check for the nested types of the adaptable functions

__THRUST_DEFINE_HAS_NESTED_TYPE(has_result_type, result_type);
__THRUST_DEFINE_HAS_NESTED_TYPE(has_result_type, result_type)

__THRUST_DEFINE_HAS_NESTED_TYPE(has_argument_type, argument_type);
__THRUST_DEFINE_HAS_NESTED_TYPE(has_argument_type, argument_type)

__THRUST_DEFINE_HAS_NESTED_TYPE(has_first_argument_type, first_argument_type);
__THRUST_DEFINE_HAS_NESTED_TYPE(has_first_argument_type, first_argument_type)

__THRUST_DEFINE_HAS_NESTED_TYPE(has_second_argument_type, second_argument_type);
__THRUST_DEFINE_HAS_NESTED_TYPE(has_second_argument_type, second_argument_type)


template<typename AdaptableBinaryFunction>
2 changes: 1 addition & 1 deletion thrust/detail/type_traits/is_metafunction_defined.h
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ namespace thrust
namespace detail
{

__THRUST_DEFINE_HAS_NESTED_TYPE(is_metafunction_defined, type);
__THRUST_DEFINE_HAS_NESTED_TYPE(is_metafunction_defined, type)

} // end detail

2 changes: 1 addition & 1 deletion thrust/functional.h
Original file line number Diff line number Diff line change
@@ -968,7 +968,7 @@ static const thrust::detail::functional::placeholder<9>::type _10;

} // end placeholders

}; // end thrust
} // end thrust

#include <thrust/detail/functional.inl>
#include <thrust/detail/functional/operators.h>
4 changes: 2 additions & 2 deletions thrust/iterator/detail/zip_iterator.inl
Original file line number Diff line number Diff line change
@@ -158,7 +158,7 @@ template<typename IteratorTuple>
using namespace thrust::detail::tuple_impl_specific;

return thrust::detail::tuple_host_device_transform<thrust::detail::device_dereference_iterator::template apply>(iter.get_iterator_tuple(), thrust::detail::device_dereference_iterator());
}; // end dereference()
} // end dereference()


template<typename IteratorTuple, typename IndexType>
@@ -173,7 +173,7 @@ template<typename IteratorTuple, typename IndexType>
f.n = n;

return thrust::detail::tuple_host_device_transform<thrust::detail::device_dereference_iterator_with_index<IndexType>::template apply>(iter.get_iterator_tuple(), f);
}; // end dereference()
} // end dereference()


} // end backend
2 changes: 1 addition & 1 deletion thrust/replace.h
Original file line number Diff line number Diff line change
@@ -388,7 +388,7 @@ template<typename InputIterator1, typename InputIterator2, typename OutputIterat
* \} // transformations
*/

}; // end thrust
} // end thrust

#include <thrust/detail/replace.inl>

2 changes: 1 addition & 1 deletion thrust/system/error_code.h
Original file line number Diff line number Diff line change
@@ -133,7 +133,7 @@ enum errc_t
too_many_links = detail::emlink,
too_many_symbolic_link_levels = detail::eloop,
value_too_large = detail::eoverflow,
wrong_protocol_type = detail::eprototype,
wrong_protocol_type = detail::eprototype
}; // end errc_t

} // end namespace errc

0 comments on commit c58c834

Please sign in to comment.