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

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::experimental::ranges::DerivedFrom

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

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

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

### [edit] Notes

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

### [edit] See also

is_base_of (C++11) | checks if a type is derived from the other type (class template) [edit]

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