代码搜索:explicit
找到约 10,000 项符合「explicit」的源代码
代码结果 10,000
www.eeworm.com/read/164520/5489449
bas 正态分布分位数m1.bas
Attribute VB_Name = "modCall"
Option Explicit
'调用求分位数的过程
Sub main()
Dim x As Double, dblI As Double
For dblI = 0.05 To 0.45 Step 0.05
PNorm dblI, x
Debug.Print "上侧概率="
www.eeworm.com/read/163726/5509437
bas module1.bas
Attribute VB_Name = "Module1"
Option Explicit
'宣告使用GettickCount的API函式
Declare Function GetTickCount Lib "kernel32" () As Long
'''''''''''''''''''''''''''''''''''
'制造乱数的函式,Randomize用於重置乱数产生器
www.eeworm.com/read/162614/5517352
c virtual1.c
// Test that explicit scope suprresses virtual lookup even after an
// explicit object.
extern "C" int printf (const char *, ...);
struct A
{
virtual int f () { return 0; }
};
struct B: public A
www.eeworm.com/read/162614/5517957
c crash16.c
// PR c++/16971
namespace N {
int i; // { dg-error "" }
// By checking for an explicit keyword on the next line we avoid
// matching an ICE message.
int i; // { dg-error "redefinition" }
}
www.eeworm.com/read/162614/5518503
c cond2.c
struct Term { };
struct Boolean : Term {
explicit Boolean(bool);
};
struct IsZero : Term {
Term *eval();
};
Term*
IsZero::eval()
{
return true ? new Boolean(false) : this; // { dg-error "" }
}
www.eeworm.com/read/162614/5518859
c dr152.c
// { dg-do compile }
// Origin: Giovanni Bajo
// DR152: explicit copy constructors
namespace N1 {
struct X {
X();
explicit X(const X&);
};
void f(
www.eeworm.com/read/162614/5519021
c spec16.c
// { dg-do compile }
// Contributed by Giovanni Bajo
// PR c++/14497: Reject specialization without template headers
template
struct A {
template
www.eeworm.com/read/162614/5519733
c inline5.c
// { dg-do assemble }
// { dg-options "-O2" }
// Origin: Matt Austern
class X;
extern X* tab1;
struct Y {
explicit Y(int);
};
void* x ();
Y k (void *);
inline vo
www.eeworm.com/read/162614/5520811
c conv3.c
// { dg-do assemble }
// Origin: Chris Heath
struct A {
template explicit A(T t) {}
};
void f(A a) {}
int main() {f(1);} // { dg-error "" } no conversion
www.eeworm.com/read/162614/5522267
c scoping6.c
// { dg-do assemble }
// Testcase for all uses of explicit global scope.
int a, B;
struct A { };
int operator+(A&, int);
struct B {
struct C {
static int a;
static int f () { A a; return