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

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::experimental::ranges::Destructible

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

Defined in header `<experimental/ranges/concepts>` |  |
template <class T> concept bool Destructible() { return requires(T t, const T ct, T* p) { { t.∼T() } noexcept; { &t } -> ranges::Same<T*>; /* not required to be equality preserving */ { &ct } -> ranges::Same<const T*>; /* not required to be equality preserving */ delete p; delete[] p; }; } |  | (ranges TS)

| This section is incomplete Reason: add description and extra caveats

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

- Todo with reason