代码搜索:implicit
找到约 5,250 项符合「implicit」的源代码
代码结果 5,250
www.eeworm.com/read/305277/3778717
scala viewtest1.scala
package test
trait Ordered[a] {
def < (x: a): boolean
}
object O {
implicit def view (x: String): Ordered[String] = new Ordered[String] {
def < (y: String) = x.compareTo(y) < 0
}
}
object
www.eeworm.com/read/283121/4085891
f flush_new.f
subroutine flush (un)
* empties buffers for file unit 'un'.
* version for AIX xlf v2r3 or higher (just a layer
* to avoid putting the underscore present in the
* system call).
implicit none
int
www.eeworm.com/read/283121/4085898
f pfuiwrit.f
subroutine pfuiwrit(nunit,pfi,nhamtyp,descr,tutype,ielem,extra,
$ nderiv,ntab,atumin,atumax,func,icode)
* FE 27-sep-93, 27-oct-93
implicit none
* PARAMETERS
* ma
www.eeworm.com/read/440906/1774434
c instantiate3.c
// Test that 'inline template' instantiates the vtable.
// { dg-do compile }
// { dg-options "-O -fno-implicit-templates" }
template struct A {
virtual void f () { }
};
inline template st
www.eeworm.com/read/440906/1775856
c typename7.c
// Test for implicit typename
// Build don't link:
// Special g++ Options:
template
struct A {
protected:
typedef struct B { } B;
};
template
struct C { };
template
www.eeworm.com/read/440906/1777252
c addrfunc2.c
// Test for implicit & on methods.
// Contributed by Jason Merrill .
// Special g++ Options: -fms-extensions
struct A {
void f (int = 0) { }
};
int
main ()
{
void (A::*p)(int)
www.eeworm.com/read/440906/1777735
c 900205_04.c
// g++ 1.36.1 bug 900205_04
// g++ allows a class for which an implicit default X::X() constructor must
// be created (implicitly by the compiler) to be derived from another class
// which does not h
www.eeworm.com/read/388600/2548910
f90 rweaj.f90
program RWEaj
use rsf
implicit none
type (file) :: Fi, Fo
complex, pointer :: rays(:,:)
real, pointer :: x(:,:),z(:,:)
real, pointer :: h1(:,:),h2(:,:)
type(axa) ::at,ag
in
www.eeworm.com/read/388600/2548915
f90 rweab.f90
program RWEab
use rsf
implicit none
type (file) :: Fi, Fo, Fr, Fs
complex, pointer :: rays(:,:)
real, allocatable :: x(:,:),z(:,:)
real, allocatable :: h1(:,:),h2(:,:)
real, a
www.eeworm.com/read/366702/2866175
c instantiate3.c
// Test that 'inline template' instantiates the vtable.
// { dg-do compile }
// { dg-options "-O -fno-implicit-templates" }
template struct A {
virtual void f () { }
};
inline template st