Go to the source code of this file.
|
| template<typename SourceType , typename DestinationType > |
| constexpr auto | iox2::bb::from (const SourceType value) noexcept -> typename detail::ExtractIntoType< DestinationType >::TargetType |
| | Converts a value of type SourceType to a corresponding value of type DestinationType. This function needs to be specialized by the user for the types to be converted. If a partial specialization is needed, please have a look at 'From'.
|
| |
| template<typename DestinationType , typename SourceType > |
| constexpr auto | iox2::bb::into (const SourceType value) noexcept -> typename detail::ExtractIntoType< DestinationType >::TargetType |
| | Converts a value of type SourceType to a corresponding value of type DestinationType. This is a convenience function which is automatically available when 'from' is implemented. This function shall therefore not be specialized but always the 'from' function.
|
| |