OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [cpp0x/] [pr33955.C] - Blame information for rev 693

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// { dg-options "-std=c++0x" }
2
template
3
struct uncvref
4
{
5
  typedef T type;
6
};
7
 
8
template
9
struct args
10
{
11
  static const int size = sizeof...(Args);
12
};
13
 
14
template
15
struct apply_args;
16
 
17
template
18
struct apply_args, args, S, V, N, N>
19
{
20
  typedef args<
21
    typename G::template apply::type, S, V>::type...
22
    > type;
23
};
24
 
25
struct or_
26
{
27
  template
28
  struct apply {
29
    typedef typename E::type type;
30
  };
31
};
32
 
33
template
34
struct identity
35
{
36
  typedef T type;
37
};
38
 
39
apply_args, args>, float, double> a1;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.