codesearch.isocpp.org by Andrew Tomazos.

Enter a valid C/C++ code snippet...

Searching for `bad_array_new_length`...

2489599 source files searched.

33 matches found.

Here is a random sample of matches...


actcd19/main/l/llvm-toolchain-7/llvm-toolchain-7_7.0.1-8/libcxxabi/src/stdlib_exception.cpp:62:

    }

bad_array_new_length::~bad_array_new_length() _NOEXCEPT
{
}


actcd19/main/l/llvm-toolchain-7/llvm-toolchain-7_7.0.1-6/libcxx/test/std/language.support/support.dynamic/alloc.errors/new.badlength/bad_array_new_length.pass.cpp:22:

        static_assert(std::is_polymorphic<std::bad_array_new_length>::value,
"std::is_polymorphic<std::bad_array_new_length>::value");
std::bad_array_new_length b;
std::bad_array_new_length b2 = b;
b2 = b;


actcd19/main/l/llvm-toolchain-7/llvm-toolchain-7_7.0.1-6/libcxx/test/std/language.support/support.dynamic/alloc.errors/new.badlength/bad_array_new_length.pass.cpp:20:

        static_assert((std::is_base_of<std::bad_alloc, std::bad_array_new_length>::value),
"std::is_base_of<std::bad_alloc, std::bad_array_new_length>::value");
static_assert(std::is_polymorphic<std::bad_array_new_length>::value,
"std::is_polymorphic<std::bad_array_new_length>::value");
std::bad_array_new_length b;


actcd19/main/g/gcc-arm-none-eabi/gcc-arm-none-eabi_7-2018-q2-6/gcc/testsuite/g++.dg/cpp0x/bad_array_new2.C:18:

          f(3);
}
catch (std::bad_array_new_length) { return 0; }
__builtin_abort ();
}


actcd19/main/l/llvm-toolchain-7/llvm-toolchain-7_7.0.1-8/libcxxabi/src/stdlib_exception.cpp:62:

    }

bad_array_new_length::~bad_array_new_length() _NOEXCEPT
{
}


actcd19/main/e/emscripten/emscripten_1.22.1-1/system/lib/libcxx/new.cpp:197:

    #endif //LIBCXXRT

bad_array_new_length::bad_array_new_length() _NOEXCEPT
{
}


actcd19/main/g/gcc-arm-none-eabi/gcc-arm-none-eabi_7-2018-q2-6/libstdc++-v3/libsupc++/eh_aux_runtime.cc:42:

    extern "C" void
__cxxabiv1::__cxa_throw_bad_array_new_length ()
{ _GLIBCXX_THROW_OR_ABORT(std::bad_array_new_length()); }


actcd19/main/l/llvm-toolchain-8/llvm-toolchain-8_8~+rc3-1~exp1/libcxxabi/src/stdlib_exception.cpp:58:

    // bad_array_new_length

bad_array_new_length::bad_array_new_length() _NOEXCEPT
{
}


actcd19/main/l/llvm-toolchain-8/llvm-toolchain-8_8~+rc3-1~exp1/libcxxabi/src/stdlib_exception.cpp:67:

    
const char*
bad_array_new_length::what() const _NOEXCEPT
{
return "bad_array_new_length";


actcd19/main/e/emscripten/emscripten_1.22.1-1/system/lib/libcxx/new.cpp:197:

    #endif //LIBCXXRT

bad_array_new_length::bad_array_new_length() _NOEXCEPT
{
}


actcd19/main/l/llvm-toolchain-7/llvm-toolchain-7_7.0.1-6/libcxx/test/std/language.support/support.dynamic/alloc.errors/new.badlength/bad_array_new_length.pass.cpp:23:

                     "std::is_polymorphic<std::bad_array_new_length>::value");
std::bad_array_new_length b;
std::bad_array_new_length b2 = b;
b2 = b;
const char* w = b2.what();


actcd19/main/l/llvm-toolchain-7/llvm-toolchain-7_7.0.1-6/libcxxabi/src/cxa_aux_runtime.cpp:38:

    __cxa_throw_bad_array_new_length(void) {
#ifndef _LIBCXXABI_NO_EXCEPTIONS
throw std::bad_array_new_length();
#else
std::terminate();


actcd19/main/e/emscripten/emscripten_1.22.1-1/system/lib/libcxxabi/src/cxa_new_delete.cpp:219:

    // bad_array_new_length

bad_array_new_length::bad_array_new_length() _NOEXCEPT
{
}


actcd19/main/g/gcc-arm-none-eabi/gcc-arm-none-eabi_7-2018-q2-5/libstdc++-v3/libsupc++/bad_array_new.cc:32:

    
const char*
bad_array_new_length::what() const _GLIBCXX_USE_NOEXCEPT
{ return "std::bad_array_new_length"; }


actcd19/main/l/llvm-toolchain-7/llvm-toolchain-7_7.0.1-8/libcxxabi/src/stdlib_exception.cpp:58:

    // bad_array_new_length

bad_array_new_length::bad_array_new_length() _NOEXCEPT
{
}


actcd19/main/l/llvm-toolchain-7/llvm-toolchain-7_7.0.1-6/libcxx/test/std/language.support/support.dynamic/alloc.errors/new.badlength/bad_array_new_length.pass.cpp:18:

    int main()
{
static_assert((std::is_base_of<std::bad_alloc, std::bad_array_new_length>::value),
"std::is_base_of<std::bad_alloc, std::bad_array_new_length>::value");
static_assert(std::is_polymorphic<std::bad_array_new_length>::value,


actcd19/main/g/gcc-arm-none-eabi/gcc-arm-none-eabi_7-2018-q2-5/gcc/testsuite/g++.dg/cpp0x/bad_array_new1.C:17:

          f(-1);
}
catch (std::bad_array_new_length) { return 0; }
__builtin_abort ();
}


actcd19/main/l/llvm-toolchain-8/llvm-toolchain-8_8~+rc3-1~exp1/libcxxabi/src/stdlib_exception.cpp:62:

    }

bad_array_new_length::~bad_array_new_length() _NOEXCEPT
{
}


actcd19/main/e/emscripten/emscripten_1.22.1-1/system/lib/libcxxabi/src/cxa_new_delete.cpp:219:

    // bad_array_new_length

bad_array_new_length::bad_array_new_length() _NOEXCEPT
{
}


actcd19/main/l/llvm-toolchain-7/llvm-toolchain-7_7.0.1-8/libcxxabi/src/stdlib_exception.cpp:67:

    
const char*
bad_array_new_length::what() const _NOEXCEPT
{
return "bad_array_new_length";


actcd19/main/l/llvm-toolchain-7/llvm-toolchain-7_7.0.1-8/libcxxabi/test/test_aux_runtime_op_array_new.pass.cpp:25:

          // std::bad_alloc, causing the test to fail.
__cxxabiv1::__cxa_throw_bad_array_new_length();
} catch ( const std::bad_array_new_length &banl ) {
return true;
}


actcd19/main/g/gcc-arm-none-eabi/gcc-arm-none-eabi_7-2018-q2-5/libstdc++-v3/libsupc++/bad_array_new.cc:29:

    {

bad_array_new_length::~bad_array_new_length() _GLIBCXX_USE_NOEXCEPT { }

const char*


actcd19/main/l/llvm-toolchain-7/llvm-toolchain-7_7.0.1-8/libcxxabi/src/stdlib_exception.cpp:58:

    // bad_array_new_length

bad_array_new_length::bad_array_new_length() _NOEXCEPT
{
}


actcd19/main/g/gcc-arm-none-eabi/gcc-arm-none-eabi_7-2018-q2-5/libstdc++-v3/libsupc++/bad_array_new.cc:29:

    {

bad_array_new_length::~bad_array_new_length() _GLIBCXX_USE_NOEXCEPT { }

const char*


actcd19/main/e/emscripten/emscripten_1.22.1-1/system/lib/libcxxabi/src/cxa_new_delete.cpp:223:

    }

bad_array_new_length::~bad_array_new_length() _NOEXCEPT
{
}


actcd19/main/e/emscripten/emscripten_1.22.1-1/system/lib/libcxx/new.cpp:201:

    }

bad_array_new_length::~bad_array_new_length() _NOEXCEPT
{
}


actcd19/main/g/gcc-arm-none-eabi/gcc-arm-none-eabi_7-2018-q2-6/libstdc++-v3/testsuite/18_support/headers/new/synopsis.cc:24:

    namespace std {
class bad_alloc;
class bad_array_new_length;
struct nothrow_t;
extern const nothrow_t nothrow;


actcd19/main/e/emscripten/emscripten_1.22.1-1/system/lib/libcxxabi/src/cxa_new_delete.cpp:228:

    
const char*
bad_array_new_length::what() const _NOEXCEPT
{
return "bad_array_new_length";


actcd19/main/e/emscripten/emscripten_1.22.1-1/system/lib/libcxx/new.cpp:220:

    
const char*
bad_array_new_length::what() const _NOEXCEPT
{
return "bad_array_new_length";


actcd19/main/l/llvm-toolchain-8/llvm-toolchain-8_8~+rc3-1~exp1/libcxxabi/src/stdlib_exception.cpp:62:

    }

bad_array_new_length::~bad_array_new_length() _NOEXCEPT
{
}


actcd19/main/e/emscripten/emscripten_1.22.1-1/system/lib/libcxx/new.cpp:201:

    }

bad_array_new_length::~bad_array_new_length() _NOEXCEPT
{
}


actcd19/main/e/emscripten/emscripten_1.22.1-1/system/lib/libcxxabi/src/cxa_new_delete.cpp:223:

    }

bad_array_new_length::~bad_array_new_length() _NOEXCEPT
{
}


actcd19/main/l/llvm-toolchain-8/llvm-toolchain-8_8~+rc3-1~exp1/libcxxabi/src/stdlib_exception.cpp:58:

    // bad_array_new_length

bad_array_new_length::bad_array_new_length() _NOEXCEPT
{
}