chromium/base/types/is_instantiation_unittest.cc

// Copyright 2023 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/types/is_instantiation.h"

#include <map>
#include <string>
#include <vector>

namespace base {
namespace {

/////////////////////////////
// Single-argument template
/////////////////////////////

template <typename T1>
class SingleArg;

static_assert;
static_assert;
static_assert;
static_assert;

static_assert;
static_assert;
static_assert;
static_assert;

static_assert;

/////////////////////////////
// Variadic template
/////////////////////////////

template <typename...>
class Variadic;

static_assert;
static_assert;
static_assert;
static_assert;

static_assert;
static_assert;
static_assert;

/////////////////////////////
// Real types
/////////////////////////////

static_assert;
static_assert;
static_assert;

}  // namespace
}  // namespace base