代码搜索:TTP
找到约 907 项符合「TTP」的源代码
代码结果 907
www.eeworm.com/read/470720/1446444
c ttp34.c
template class D
{
public:
int f();
};
template int D::f()
{
return sizeof(T);
}
template class C
{
D d;
public:
int f();
};
templa
www.eeworm.com/read/470693/1456798
c ttp1.c
// Origin: Volker Reichelt
// { dg-do compile }
template
class B : virtual A
{
typedef int INT;
INT i;
};
www.eeworm.com/read/470693/1456800
c ttp2.c
// Copyright (C) 2001 Free Software Foundation
// Contributed by Kriang Lerdsuwanakij
// { dg-do compile }
template struct Alloc {};
template
www.eeworm.com/read/470693/1456854
c ttp4.c
// { dg-do compile }
// Origin: Ewgenij Gawrilow
// PR c++/6723
// ICE when default template argument contains instantiation of
// template template parameter.
template
www.eeworm.com/read/470693/1456891
c ttp3.c
// { dg-do compile }
// Copyright (C) 2001 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 29 Dec 2001
// PR 5213. We failed to spot that class List was a t
www.eeworm.com/read/470693/1457646
c ttp5.c
// Build don't link:
template class D
{
};
template class C
{
D d; // ERROR - arg not match
};
int main()
{
C c;
}
www.eeworm.com/read/470693/1457661
c ttp57.c
// Build don't link:
// Origin: Alex Samuel
namespace NS
{
template
struct Base
{
};
template
struct Z
{
const static int value_ = false;
};
www.eeworm.com/read/470693/1457664
c ttp12.c
template class D
{
public:
int f();
};
template int D::f()
{
return sizeof(T);
}
template class C
{
E d;
public:
int f();
};
templa
www.eeworm.com/read/470693/1457678
c ttp29.c
template class D
{
public:
int f();
};
template int D::f()
{
return sizeof(T);
}
extern "C" void abort();
template class C
{
D d;
pub
www.eeworm.com/read/470693/1457688
c ttp42.c
template
struct X
{};
template
struct Y
{};
template
struct Z
{};
template
struct X
{};
int main()
{
X a;
X