代码搜索:enum
找到约 10,000 项符合「enum」的源代码
代码结果 10,000
www.eeworm.com/read/482889/1283795
hpp enum.hpp
#ifndef BOOST_MPL_AUX_PREPROCESSOR_ENUM_HPP_INCLUDED
#define BOOST_MPL_AUX_PREPROCESSOR_ENUM_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2000-2004
//
// Distributed under the Boost Software Lic
www.eeworm.com/read/482889/1284618
hpp enum.hpp
# /* Copyright (C) 2001
# * Housemarque Oy
# * http://www.housemarque.com
# *
# * Distributed under the Boost Software License, Version 1.0. (See
# * accompanying file LICENSE_1_0.txt or cop
www.eeworm.com/read/482889/1284700
hpp enum.hpp
# /* Copyright (C) 2001
# * Housemarque Oy
# * http://www.housemarque.com
# *
# * Distributed under the Boost Software License, Version 1.0. (See
# * accompanying file LICENSE_1_0.txt or cop
www.eeworm.com/read/482889/1284707
hpp enum.hpp
# /* **************************************************************************
# * *
# * (C) Copyright Paul Mensonides
www.eeworm.com/read/482889/1284744
hpp enum.hpp
# /* **************************************************************************
# * *
# * (C) Copyright Paul Mensonides
www.eeworm.com/read/482889/1285222
hpp enum.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/475965/1374253
c enum.c
/* enum.c -- uses enumerated values */
#include
#include // for strcmp()
#include // C99 feature
enum spectrum {red, orange, yellow, green, blue, violet};
www.eeworm.com/read/470720/1445903
c enum.c
// Build don't link:
// GROUPS passed enums
template
struct templ
{
enum { val = 0 };
};
struct Foo
{
enum {
bar = 0,
len = templ::val
};
};
void func()
{
int s = Foo:
www.eeworm.com/read/470720/1447780
c enum.c
// PRMS Id: 4337
// Bug: Enums are not looked up to arbitrary depth.
// Build don't link:
struct W {
enum A { B };
};
struct X : public W
{};
struct Y : public X
{};
struct S
{
X::A a1;
Y::A
www.eeworm.com/read/470693/1457849
c enum.c
// Build don't link:
// GROUPS passed enums
template
struct templ
{
enum { val = 0 };
};
struct Foo
{
enum {
bar = 0,
len = templ::val
};
};
void func()
{
int s = Foo: