blob: 68c164e256a3f59ed3eb21009c4b73bc603823d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// Copyright (C) 2020 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#pragma once
template <typename T>
class Foo {
public:
Foo() {}
private:
T t;
};
template <typename T, typename D>
class Bar {
public:
Bar() {}
private:
T t;
D d;
};
template<template<typename> class X, typename Y>
struct Baz
{
X<Y> z;
Baz() : z() {}
};
|