libstdc++: std::convertible_to Concept Reference

libstdc++

std::convertible_to Concept Reference

`#include <concepts>`

## Concept definition

template<typename _From, typename _To>
concept convertible_to = is_convertible_v<_From, _To>
&& requires { static_cast<_To>(std::declval<_From>()); }
std::declval
auto declval() noexcept -> decltype(__declval< _Tp >(0))
Definition type_traits:2718
std::convertible_to
[concept.convertible], concept convertible_to
Definition concepts:81

## Detailed Description

[concept.convertible], concept convertible_to

Definition at line 81 of file concepts.