StormByte C++ Library 1.2.0
StormByte is a comprehensive, cross-platform C++ library aimed at easing system programming, configuration management, logging, and database handling tasks. This library provides a unified API that abstracts away the complexities and inconsistencies of different platforms (Windows, Linux).
Loading...
Searching...
No Matches
StormByte::Type::ConvertibleTo Concept Reference

From is implicitly convertible to To (std::is_convertible). More...

#include <StormByte/type_traits/conversions.hxx>

Concept definition

template<typename From, typename To>
concept StormByte::Type::ConvertibleTo = std::is_convertible_v<From, To>
From is implicitly convertible to To (std::is_convertible).
Definition conversions.hxx:45

Detailed Description

From is implicitly convertible to To (std::is_convertible).

Template Parameters
FromSource type.
ToDestination type.
Note
Not std::convertible_to: that also requires an explicit To construct from From and would tighten the contract.