-
Compiler Explorer
Compiler Explorer is an interactive online compiler which shows the assembly output of compiled C++, Rust, Go (and many more) code.
-
Compiler Explorer
// ----------------------------------------------------------------------------
struct ct_str
{
static constexpr std::size_t max_size{512};
char _data[max_size]{};
std::size_t _si...
-
Compiler Explorer
Xtensa ESP32 gcc 12.2.0 (20230208)
Xtensa ESP32 gcc 8.2.0 (2019r2)
Xtensa ESP32 gcc 8.2.0 (2020r1)
Xtensa ESP32 gcc 8.2.0 (2020r2)
Xtensa ESP32 gcc 8.4.0 (2020r3)
Xtensa ESP32 gcc 8.4.0 (2021r1)
Xtens...
-
Compiler Explorer
namespace {
template <typename... Fs>
struct overload : Fs... {
using Fs::operator()...;
};
template <typename... Fs>
overload(Fs...) -> overload<Fs...>;
template <size_t N, typename R, typename ...
-
Compiler Explorer
namespace unsq {
namespace _drill_down {
struct error_t {};
template <typename T>
struct type_t {
using type = T;
};
template <typename T>
constexpr auto equivalent() {
if constexpr (std::is_in...
-
Compiler Explorer
unsigned modulo( int value, unsigned m) {
int mod = value % (int)m;
if (value < 0) {
mod += m;
}
return mod;
}
// Examples for known quotients:
unsigned modulo256( int value )...