| Server IP : 217.160.0.135 / Your IP : 216.73.217.25 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/pythran/pythonic/include/types/ |
Upload File : |
#ifndef PYTHONIC_INCLUDE_TYPES_LAZY_HPP
#define PYTHONIC_INCLUDE_TYPES_LAZY_HPP
PYTHONIC_NS_BEGIN
namespace types
{
template <class T>
using lazy_res_t = decltype((std::declval<T>()()));
template <class T>
using lazy_res_decay_t = typename std::decay<lazy_res_t<T>>::type;
template <class T0, class T1>
using lazy_combined_t = typename std::conditional<
std::is_same<lazy_res_t<T0>, lazy_res_t<T1>>::value, lazy_res_t<T0>,
typename __combined<lazy_res_decay_t<T0>,
lazy_res_decay_t<T1>>::type>::type;
}
PYTHONIC_NS_END
#endif