Skip to content

Commit

Permalink
Merge pull request #5558 from RazvanN7/Issue_17369
Browse files Browse the repository at this point in the history
Fix Issue 17369 - [Module std.traits] Documentation lists ditto in table
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
  • Loading branch information
dlang-bot committed Jul 6, 2017
2 parents 1a5ae4a + 8d29b4d commit 0d7ce7f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions std/traits.d
Expand Up @@ -279,21 +279,21 @@ private

package
{
/// Add specific qualifier to the given type T.
// Add the mutable qualifier to the given type T.
template MutableOf(T) { alias MutableOf = T ; }
}

/// Add specific qualifier to the given type T.
/// Add the inout qualifier to the given type T.
template InoutOf(T) { alias InoutOf = inout(T) ; }
/// ditto.
/// Add the const qualifier to the given type T.
template ConstOf(T) { alias ConstOf = const(T) ; }
/// ditto.
/// Add the shared qualifier to the given type T.
template SharedOf(T) { alias SharedOf = shared(T) ; }
/// ditto.
/// Add the shared and inout qualifiers to the given type T.
template SharedInoutOf(T) { alias SharedInoutOf = shared(inout(T)); }
/// ditto.
/// Add the shared and const qualifiers to the given type T.
template SharedConstOf(T) { alias SharedConstOf = shared(const(T)); }
/// ditto.
/// Add the immutable qualifier to the given type T.
template ImmutableOf(T) { alias ImmutableOf = immutable(T) ; }

@safe unittest
Expand Down

0 comments on commit 0d7ce7f

Please sign in to comment.