代码搜索:implicit
找到约 5,250 项符合「implicit」的源代码
代码结果 5,250
www.eeworm.com/read/240162/4590254
c attr-6.c
/* Test for format attributes: test default attributes are applied
to implicit declarations. */
/* Origin: Joseph Myers */
/* { dg-do compile } */
/* { dg-options "-std=gnu89 -Wf
www.eeworm.com/read/233448/4671371
c instantiate2.c
// Test that 'static template' instantiates statics.
// { dg-do compile }
// { dg-options "-fno-implicit-templates" }
template struct A {
static T t;
};
template T A::t = 0;
www.eeworm.com/read/233448/4674395
c typename9.c
// { dg-do run }
// { dg-options "-w" }
// Test to make sure that implicit typename doesn't break name binding rules.
typedef double A;
template class B {
typedef char A;
};
template
www.eeworm.com/read/233448/4678680
f90 optstring_1.f90
! Test optional character arguments. We still need to pass a string
! length for the absent arguments
program optional_string_1
implicit none
call test(1, "test");
call test(2, c=42, b="Hello
www.eeworm.com/read/233448/4686243
c attr-6.c
/* Test for format attributes: test default attributes are applied
to implicit declarations. */
/* Origin: Joseph Myers */
/* { dg-do compile } */
/* { dg-options "-std=gnu89 -Wf
www.eeworm.com/read/229812/4738163
c diag0254.c
// from [class.conv.ctor] 12.3.1
#ifdef __WATCOM_EXPLICIT__
class Z {
public:
explicit Z(int);
};
Z a1 = 1; // error: no implicit conversion
Z a3 = Z(1); // OK: direct initializat
www.eeworm.com/read/190666/5172569
c instantiate2.c
// Test that 'static template' instantiates statics.
// { dg-do compile }
// { dg-options "-fno-implicit-templates" }
template struct A {
static T t;
};
template T A::t = 0;
www.eeworm.com/read/190666/5173723
c typename3.c
// Build don't link:
// Special g++ Options: -Wno-deprecated
template
struct A
{
typedef T A_Type;
};
template
struct B : public A
{
A_Type Func(); // WARNING - implicit
www.eeworm.com/read/190666/5174178
c typename9.c
// Test to make sure that implicit typename doesn't break name binding rules.
// Special g++ Options: -w
typedef double A;
template class B {
typedef char A;
};
template struct X
www.eeworm.com/read/190666/5179990
c attr-6.c
/* Test for format attributes: test default attributes are applied
to implicit declarations. */
/* Origin: Joseph Myers */
/* { dg-do compile } */
/* { dg-options "-std=gnu89 -Wf