代码搜索:explicit

找到约 10,000 项符合「explicit」的源代码

代码结果 10,000
www.eeworm.com/read/470693/1459144

c explicit1.c

struct A1 { explicit A1(int) { } } a1(1); struct A { explicit A(int); } a(1); A::A(int) { } void foo(A a) { foo(a); foo(1); // ERROR - not allowed }
www.eeworm.com/read/470693/1459493

c explicit2.c

// Build don't link: class string { public: string(const char*) { } explicit string(int size) { } }; void foo(string) { } string bar() { foo("hello"); // ok foo(string(2)); // ok foo(2
www.eeworm.com/read/467583/1498006

h at_initiator_explicit.h

/***************************************************************************** The following code is derived, directly or indirectly, from the SystemC source code Copyright (c) 1996-2008 by all C
www.eeworm.com/read/467583/1498014

cpp at_initiator_explicit.cpp

/***************************************************************************** The following code is derived, directly or indirectly, from the SystemC source code Copyright (c) 1996-2008 by all C
www.eeworm.com/read/242111/4555822

h explicit_gop.h

/*! ************************************************************************************* * \file explicit_gop.h * * \brief * Functions for explicit gop and hierarchy support * * \a
www.eeworm.com/read/242111/4555892

c explicit_gop.c

/*! ************************************************************************************* * \file explicit_gop.c * * \brief * Code for explicit gop support and hierarchical coding. *
www.eeworm.com/read/240162/4579172

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/240162/4579893

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/240162/4579905

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/240162/4579971

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