// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/template_util.h" #include namespace base { namespace { enum SimpleEnum { SIMPLE_ENUM }; enum EnumWithExplicitType : uint64_t { ENUM_WITH_EXPLICIT_TYPE }; enum class ScopedEnum { SCOPED_ENUM }; struct SimpleStruct {}; static_assert(!is_scoped_enum::value); static_assert(!is_scoped_enum::value); static_assert(!is_scoped_enum::value); static_assert(is_scoped_enum::value); } // namespace } // namespace base