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

Subversion Repositories openrisc

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

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// { dg-options "-std=gnu++0x" }
2
template
3
  struct _Index_tuple { };
4
 
5
template >
6
struct _Build_index_tuple;
7
 
8
template
9
struct _Build_index_tuple<_Num, _Index_tuple<_Indexes...> >
10
  : _Build_index_tuple<_Num - 1,
11
                       _Index_tuple<_Indexes..., sizeof...(_Indexes)> >
12
{
13
};
14
 
15
template
16
struct _Build_index_tuple<0, _Index_tuple<_Indexes...> >
17
{
18
  typedef _Index_tuple<_Indexes...> __type;
19
};

powered by: WebSVN 2.1.0

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