Skip to content

Commit

Permalink
ranges::convert_to only requires explicit convertibility, fixes #675
Browse files Browse the repository at this point in the history
  • Loading branch information
ericniebler committed Jun 21, 2017
1 parent 30a4dc8 commit 2ed2d52
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions include/range/v3/utility/functional.hpp
Expand Up @@ -137,8 +137,7 @@ namespace ranges
template<typename T>
struct convert_to
{
template<typename U,
CONCEPT_REQUIRES_(std::is_constructible<T, U>::value)>
template<typename U>
constexpr auto operator()(U && u) const
RANGES_DECLTYPE_AUTO_RETURN_NOEXCEPT
(
Expand Down

0 comments on commit 2ed2d52

Please sign in to comment.