Poco::Util::Units::Internal

template < typename T1, typename T2 >

struct Convert

Library: Util
Package: Units
Header: Poco/Util/Units.h

Description

Converts T1 to T2. If you really want to implement your own conversion routine, specialize this template. The default implementation falls through to Convert2. If this fails, then T1 is not Convertible to T2:

Member Summary

Member Functions: fn, static_assert

Member Functions

fn static inline

template < typename V > static V fn(
    const V & v
);

static_assert

static_assert(
    (Convertible < T1, T2 >::Value) param539
);