代码搜索:void
找到约 10,000 项符合「void」的源代码
代码结果 10,000
www.eeworm.com/read/366702/2868466
c void9.c
//PR c++/28738
template struct A {}; // { dg-error "not a valid type" }
template struct A {}; // { dg-error "not a valid type" }
www.eeworm.com/read/366702/2868534
c void1.c
// PR c++/27430
// { dg-do compile }
template struct A; // { dg-error "array of void" }
www.eeworm.com/read/366702/2868552
c void11.c
// PR c++/31446
template struct A // { dg-error "valid type" }
{
template friend void foo();
};
void bar()
{
foo(); // { dg-error "not declared|primary-expression" }
}
www.eeworm.com/read/366702/2868611
c void6.c
//PR c++/28594
template struct A; // { dg-error "not a valid type" }
www.eeworm.com/read/366702/2868910
c void8.c
//PR c++/28737
template struct A; // { dg-error "not a valid type" }
template struct B;
template struct B {}; // { dg-error "not a valid type|declare
www.eeworm.com/read/366702/2868931
c void10.c
//PR c++/28736
template struct A // { dg-error "not a valid type" }
{
template friend struct B;
};
template struct B {};
B b;
www.eeworm.com/read/366702/2868994
c void2.c
// PR c++/27496
// { dg-do compile }
template struct A
{
template friend class X; // { dg-error "void|valid type" }
};
A a;
www.eeworm.com/read/366702/2869038
c void7.c
//PR c++/28741
template struct A // { dg-error "not a valid type" }
{
static int i;
};
A a; // { dg-error "invalid type|not a valid type" }
www.eeworm.com/read/366702/2869043
c void12.c
// PR c++/28639
template struct A // { dg-error "not a valid type" }
{
static const int i = 1;
char a[i];
};
www.eeworm.com/read/260165/4335203
hpp is_void_type.hpp
/* /////////////////////////////////////////////////////////////////////////
* File: stlsoft/meta/is_void_type.hpp (originally MTBase.h, ::SynesisStl)
*
* Purpose: is_void_type meta c