repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR c++/86728 - C variadic generic lambda.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
member9.C
blob
f15272db7abaa5f20ebc8319f3f449653579924c
1
// Origin PR c++/48838
2
// { dg-do compile }
3
4
class DUChainItemSystem
5
{
6
public:
7
8
template<class T>
9
void registerTypeClass();
10
11
static DUChainItemSystem& self();
12
};
13
14
template<class T>
15
struct DUChainItemRegistrator
16
{
17
DUChainItemRegistrator()
18
{
19
DUChainItemSystem::self().registerTypeClass<T>();
20
}
21
};