std::convertible_to - Man Page

[concept.convertible], concept convertible_to

Synopsis

Concept definition

template<typename _From, typename _To>
concept std::convertible_to =  is_convertible_v<_From, _To>
      && requires { static_cast<_To>(std::declval<_From>()); }

Detailed Description

[concept.convertible], concept convertible_to

Definition at line 72 of file concepts.

Author

Generated automatically by Doxygen for libstdc++ from the source code.

Info

Wed Sep 7 2022 libstdc++