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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [g++.dg/] [cpp0x/] [variadic97.C] - Diff between revs 301 and 338

Only display areas with differences | Details | Blame | View Log

Rev 301 Rev 338
// PR c++/42266
// PR c++/42266
// { dg-options -std=c++0x }
// { dg-options -std=c++0x }
template
template
  class tuple;
  class tuple;
template
template
  class _Mu;
  class _Mu;
template
template
  struct _Bind;
  struct _Bind;
template
template
  class _Bind<_Functor(_Bound_args...)>
  class _Bind<_Functor(_Bound_args...)>
  {
  {
    template
    template
             = decltype(_Functor()(_Mu<_Bound_args>()(_Bound_args(),
             = decltype(_Functor()(_Mu<_Bound_args>()(_Bound_args(),
                                                      tuple<_Args...>())...) )>
                                                      tuple<_Args...>())...) )>
      void __call() { }
      void __call() { }
  };
  };
template
template
  _Bind<_Functor(_Arg)>
  _Bind<_Functor(_Arg)>
  bind(_Functor, _Arg) { }
  bind(_Functor, _Arg) { }
struct State
struct State
{
{
  bool ready() { return true; }
  bool ready() { return true; }
  void f()
  void f()
  {
  {
    bind(&State::ready, this);
    bind(&State::ready, this);
  }
  }
};
};
 
 

powered by: WebSVN 2.1.0

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