URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 301 |
Rev 338 |
// { dg-options "-std=c++0x" }
|
// { dg-options "-std=c++0x" }
|
template
|
template
|
struct uncvref
|
struct uncvref
|
{
|
{
|
typedef T type;
|
typedef T type;
|
};
|
};
|
|
|
template
|
template
|
struct args
|
struct args
|
{
|
{
|
static const int size = sizeof...(Args);
|
static const int size = sizeof...(Args);
|
};
|
};
|
|
|
template
|
template
|
struct apply_args;
|
struct apply_args;
|
|
|
template
|
template
|
struct apply_args, args, S, V, N, N>
|
struct apply_args, args, S, V, N, N>
|
{
|
{
|
typedef args<
|
typedef args<
|
typename G::template apply::type, S, V>::type...
|
typename G::template apply::type, S, V>::type...
|
> type;
|
> type;
|
};
|
};
|
|
|
struct or_
|
struct or_
|
{
|
{
|
template
|
template
|
struct apply {
|
struct apply {
|
typedef typename E::type type;
|
typedef typename E::type type;
|
};
|
};
|
};
|
};
|
|
|
template
|
template
|
struct identity
|
struct identity
|
{
|
{
|
typedef T type;
|
typedef T type;
|
};
|
};
|
|
|
apply_args, args>, float, double> a1;
|
apply_args, args>, float, double> a1;
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.