std::experimental::ranges::ConvertibleTo - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::experimental::ranges::ConvertibleTo

From cppreference.com
< cpp‎ | experimental‎ | ranges

Defined in header `<experimental/ranges/concepts>` |  |
template < class T, class U > concept bool ConvertibleTo() { return /* see below */; } |  | (ranges TS)

The concept ConvertibleTo<T, U>() is satisfied if and only if std::is_convertible<T, U>::value is true.

### [edit] Notes

Despite the use of std::is_convertible in its description, `ConvertibleTo` is not required to use it in its implementation. Thus, ConvertibleTo<T, U>() may not normalize to std::is_convertible<T, U>::value during partial ordering of constraints.

### [edit] See also

is_convertible (C++11) | checks if a type can be converted to the other type (class template) [edit]

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/experimental/ranges/concepts/ConvertibleTo&oldid=90469"