代码搜索:enum
找到约 10,000 项符合「enum」的源代码
代码结果 10,000
www.eeworm.com/read/482889/1284866
hpp tracking_enum.hpp
#ifndef BOOST_SERIALIZATION_TRACKING_ENUM_HPP
#define BOOST_SERIALIZATION_TRACKING_ENUM_HPP
// MS compatible compilers support #pragma once
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
# pragma o
www.eeworm.com/read/482889/1284887
hpp level_enum.hpp
#ifndef BOOST_SERIALIZATION_LEVEL_ENUM_HPP
#define BOOST_SERIALIZATION_LEVEL_ENUM_HPP
// MS compatible compilers support #pragma once
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
# pragma once
#
www.eeworm.com/read/482889/1285260
hpp enum_base.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)
#ifnde
www.eeworm.com/read/479931/1328723
exp sized-enum.exp
# Copyright (C) 1997, 1998, 2007, 2008 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as
www.eeworm.com/read/479931/1328737
c sized-enum.c
enum Normal {
red,
blue,
green
};
short enum Small {
pink,
cyan,
grey
};
char enum Tiny {
orange,
yellow,
brown
};
main()
{
enum Normal normal[3];
short enum Small small[3];
www.eeworm.com/read/474814/1390979
c cp_enum.c
/*
Copyright (c) 2000, Red Hat, Inc.
This file is part of Source-Navigator.
Source-Navigator is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public Lic
www.eeworm.com/read/470720/1444597
c enum2.c
#include
enum test {
z = 0,
c = UINT_MAX + 1LL
} x = z;
int main() {
return x != z;
}
www.eeworm.com/read/470720/1444631
c enum1.c
enum test {
acceptable = -1,
unacceptable = 0xffffffffffffffffLL
}; // { dg-error "" }
enum test t = acceptable, u = unacceptable;
int main() {
return 0;
}
www.eeworm.com/read/470720/1444753
c enum1.c
// { dg-do run }
#include
enum foo
{
foo1 = 0,
foo2 = 0xffffffffffffffffULL,
foo3 = 0xf0fffffffffffffeULL
};
int main ()
{
if (sizeof (enum foo) != sizeof (unsigned long lon
www.eeworm.com/read/470720/1444817
c enum1.c
// PR c++/6037
// This testcase ICEd because start_enum expected pushtag to insert
// the tag always into current binding level.
struct A
{
~A () { }
};
struct B
{
void foo ()
{
switch (0)