代码搜索:void
找到约 10,000 项符合「void」的源代码
代码结果 10,000
www.eeworm.com/read/375190/2730205
hpp void_return.hpp
// Copyright David Abrahams 2002.
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef VO
www.eeworm.com/read/375190/2735229
cpp is_void_test.cpp
// (C) Copyright John Maddock 2000.
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http:/
www.eeworm.com/read/375190/2737047
cpp void_cast.cpp
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
// void_cast.cpp: implementation of run-time casting of void pointers
// (C) Copyright 2002 Robert Ramey - http://www.
www.eeworm.com/read/366702/2868062
c void1.c
// PR c++/9278
// { dg-do compile }
typedef void VOID;
int foo(void);
int bar(VOID); // { dg-error "type|invalid use" }
template int foo(void);
template int bar(VOID); //
www.eeworm.com/read/366702/2868192
c void2.c
// PR c++/27423
// { dg-do compile }
void foo(void = 0); // { dg-error "incomplete type|invalid use" }
void bar() { foo(); }
www.eeworm.com/read/366702/2868263
c void1.c
// PR c++/27422
// { dg-do compile }
void foo(void i); // { dg-error "incomplete type|invalid use" }
void bar() { foo(0); }
www.eeworm.com/read/366702/2868367
c void13.c
// PR c++/30299
struct A
{
int i;
};
template struct B : A // { dg-error "not a valid type" }
{
B() { this->i; }
};
www.eeworm.com/read/366702/2868372
c void5.c
//PR c++/28640
template struct A; // { dg-error "not a valid type" }
template struct A;
www.eeworm.com/read/366702/2868416
c void3.c
//PR c++/28637
template struct A {}; // { dg-error "not a valid type" }
A a; // { dg-error "type" }
www.eeworm.com/read/366702/2868428
c void4.c
//PR c++/28638
template struct A; // { dg-error "not a valid type" }
template struct B {};
B b; // { dg-error "template|invalid type" }