mirror of
https://github.com/dlang/phobos.git
synced 2025-04-28 22:21:09 +03:00
Import std.meta.staticMap in std.typecons to avoid regressions
See also: https://github.com/dlang/phobos/pull/5484#discussion_r122602797
This commit is contained in:
parent
f381477bdc
commit
108d0c7ba1
1 changed files with 7 additions and 0 deletions
|
@ -166,6 +166,13 @@ module std.traits;
|
|||
|
||||
import std.meta : AliasSeq, allSatisfy;
|
||||
|
||||
// Legacy inheritance from std.typetuple
|
||||
// See also: https://github.com/dlang/phobos/pull/5484#discussion_r122602797
|
||||
import std.meta : staticMapMeta = staticMap;
|
||||
// TODO: find a way to trigger deprecation warnings
|
||||
//deprecated("staticMap is part of std.meta: Please import std.meta")
|
||||
alias staticMap = staticMapMeta;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// Functions
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue