代码搜索:explicit
找到约 10,000 项符合「explicit」的源代码
代码结果 10,000
www.eeworm.com/read/400650/2347973
h explicit_system.h
// $Id: explicit_system.h 2501 2007-11-20 02:33:29Z benkirk $
// The libMesh Finite Element Library.
// Copyright (C) 2002-2007 Benjamin S. Kirk, John W. Peterson
// This library is free software
www.eeworm.com/read/400650/2348727
c explicit_system.c
// $Id: explicit_system.C 2789 2008-04-13 02:24:40Z roystgnr $
// The libMesh Finite Element Library.
// Copyright (C) 2002-2007 Benjamin S. Kirk, John W. Peterson
// This library is free softwar
www.eeworm.com/read/366702/2866385
c explicit1.c
// { dg-do compile }
// Origin: stefaandr@hotmail.com
// PR c++/12403: ICE when explicit specialization is not in
// namespace scope.
struct foo {
template void bar (T &t) {}
www.eeworm.com/read/366702/2868325
c explicit1.c
// { dg-do link }
// { dg-options "-fno-implicit-templates" }
template struct C {
~C();
};
template C::~C() {}
struct X {
C *p;
~X() { delete p; }
};
template class
www.eeworm.com/read/366702/2868352
c explicit4.c
// { dg-do compile }
// Copyright (C) 2003 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 27 Jul 2003
// Failed to spot specialization using a template-id
www.eeworm.com/read/366702/2868392
c explicit6.c
// Copyright (C) 2005 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 14 Feb 2005
// Origin: Volker Reichelt
// Bug 19895: ICE on inva
www.eeworm.com/read/366702/2868401
c explicit8.c
namespace N {
template
struct S {
void f() {}
};
namespace I {
template void S::f(); // { dg-error "namespace" }
}
}
namespace K {
template void N::S::f(
www.eeworm.com/read/366702/2868505
c explicit5.c
// { dg-do compile }
// Copyright (C) 2003 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 27 Jul 2003
// Failed to spot specialization using a template-id
www.eeworm.com/read/366702/2868607
c explicit7.c
// PR c++/22263
// { dg-do link }
template struct S { T foo (); T bar (); };
template T S::foo () { return bar (); }
template struct S;
template T S::bar () {
www.eeworm.com/read/366702/2868667
c explicit3.c
// { dg-do compile }
// Copyright (C) 2003 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 27 Jul 2003
// Failed to spot specialization using a template-id