#include <eckit/utils/Translator.h>
template<class From, class To>
Translator struct
Public functions
-
template<typename F, std::auto operator()(F&& from) -> auto
enable_if_t<(!std::is_same_v<std:: decay_t<F>, To> && std::is_constructible_v<To, F>), bool> = true> -
template<typename F, std::auto operator()(F&& from) -> decltype(auto)
enable_if_t<std::is_same_v<std:: decay_t<F>, To>, bool> = true>