Skip to content

Commit

Permalink
new-style aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
monarchdodra committed Jan 5, 2014
1 parent bd90787 commit da2fef1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions std/range.d
Expand Up @@ -4413,13 +4413,13 @@ struct Cycle(R)
template Cycle(R)
if (isInfinite!R)
{
alias R Cycle;
alias Cycle = R;
}

struct Cycle(R)
if (isStaticArray!R)
{
private alias typeof(R.init[0]) ElementType;
private alias ElementType = typeof(R.init[0]);
private ElementType* _ptr;
private size_t _index;

Expand Down

0 comments on commit da2fef1

Please sign in to comment.