代码搜索:CATCH
找到约 10,000 项符合「CATCH」的源代码
代码结果 10,000
www.eeworm.com/read/190666/5172889
c catch8.c
// Copyright (C) 1999, 2000 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 6 Jun 1999
// We cannot catch an ambiguous base class.
// -- public,
www.eeworm.com/read/190666/5172893
c catch2.c
// Build don't link:
// Origin: Mike Danylchuk
typedef char TCHAR;
int main()
{
try {}
catch( TCHAR* Err ) {}
}
www.eeworm.com/read/190666/5172897
c catch13.c
// Copyright (C) 2001 Free Software Foundation, Inc.
// Contributed by Jakub Jelinek 2 May 2001
// Build don't link:
// Special g++ Options: -O2
struct A;
A *foo();
struct A {
www.eeworm.com/read/190666/5172901
c catch11.c
// Copyright (C) 2000 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 24 May 2000
// we should be able to catch a base a virtual, provided it is accessible b
www.eeworm.com/read/190666/5172908
c catch3.c
// Copyright (C) 1999, 2000 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 29 Aug 1999
// We cannot catch an ambiguous base class. Check with a non-virtual public
//
www.eeworm.com/read/168845/5434557
cpp catch_builtin.cpp
# /* Copyright (C) 2002
# * Housemarque Oy
# * http://www.housemarque.com
# *
# * Distributed under the Boost Software License, Version 1.0. (See
# * accompanying file LICENSE_1_0.txt or cop
www.eeworm.com/read/162614/5519502
c catch5.c
// { dg-do run }
// { dg-options "-w" }
// Copyright (C) 1999, 2000 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 29 Aug 1999
// We cannot catch an ambiguous base
www.eeworm.com/read/162614/5519503
c catch6.c
// { dg-do run }
// { dg-options "-w" }
// Copyright (C) 1999, 2000 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 29 Aug 1999
// We cannot catch an ambiguous base
www.eeworm.com/read/162614/5519513
c catch7.c
// { dg-do run }
// { dg-options "-w" }
// Copyright (C) 1999, 2000 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 29 Aug 1999
// We cannot catch an ambiguous base
www.eeworm.com/read/162614/5519522
c catch10.c
// { dg-do assemble }
// Test that we notice unfortunate handler ordering.
struct A { };
struct B: public A { };
struct C: private A { };
void f();
void g()
{
try { f(); }
catch (...) { } // {