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
/
ttp15.C
blob
5bb285eb556c052b1b7b1ac07929d7da3233045d
1
struct Dense {
2
static const unsigned int dim = 1;
3
};
4
5
template <template <typename> class View,
6
typename Block>
7
void operator+(float, View<Block> const&);
8
9
template <typename Block,
10
unsigned int Dim = Block::dim>
11
struct Lvalue_proxy {
12
operator float() const;
13
};
14
15
void
16
test_1d (void)
17
{
18
Lvalue_proxy<Dense> p;
19
float b;
20
b + p;
21
}