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:     constexpr-hana1.C (2.27 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
// PR c++/70685
// { dg-do compile { target c++14 } }

namespace std {
template <typename _Tp, _Tp __v> struct A { static constexpr _Tp value = __v;
};
typedef A<bool, false> false_type;
template <bool, typename _Iftrue, typename> using conditional_t = _Iftrue;
namespace hana {
template <typename> struct is_default : false_type {};
template <typename> struct tag_of;
struct deleted_implementation;
namespace detail {
namespace operators {
template <typename> struct adl {};
}
}
template <typename> struct B;
template <int v> struct G : std::A<int, v> {};
template <typename T, T v> G<v> integral_c;
template <int i> using int_ = G<i>;
template <int i> int_<i> int_c;
template <typename> struct C;
template <typename Tag> struct D {
  template <typename... X> auto operator()(X... x) {
    return C<Tag>::apply(x...);
  }
};
template <typename Tag> D<Tag> make;
template <typename> struct unpack_impl;
struct Foldable {
  using Tag = int;
  static constexpr int value = is_default<unpack_impl<Tag>>::value;
};
struct range_tag;
auto make_range = make<range_tag>;
template <typename> struct sum_impl;
template <typename> struct F;
template <typename M = B<int>> F<M> sum;
template <typename T, T, T To>
struct range : detail::operators::adl<range<T, 0, To>> {};
template <typename T, T From, T To> struct tag_of<range<T, From, To>> {
  using type = range_tag;
};
template <> struct C<range_tag> {
  template <typename From, typename To> static auto apply(From, To) {
    using T = int;
    constexpr T from(From::value);
    constexpr T to(To::value);
    return range<T, from, to>{};
  }
};
template <> struct sum_impl<range_tag> {
  template <typename I> static constexpr I sum_helper(I m, I n) {
    if (m == n)
      return 0;
    return sum_helper(0, 0);
  }
  template <typename T, T from, T to> static auto apply(range<T, from, to>) {
    integral_c<T, sum_helper(from, to - 1)>;
  }
};
template <typename> struct F {
  template <typename Xs> auto operator()(Xs xs) {
    using S = typename tag_of<Xs>::type;
    using Sum =
        conditional_t<Foldable::value, sum_impl<S>, deleted_implementation>;
    Sum::apply(xs);
  }
};
}
auto __hana_tmp_22 =
    (hana::sum<>(hana::make_range(hana::int_c<-3>, hana::int_c<-2>)),
     hana::sum<>(hana::make_range(hana::int_c<3>, hana::int_c<7>)),
     hana::int_c<6>);
}

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