View source code
Display the source code in std/typecons.d from which this page was generated on
github.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.
Requires a signed-in GitHub account. This works well for small changes.
If you'd like to make larger changes you may want to consider using
local clone.
Page wiki
View or edit the community-maintained wiki page associated with this page.
Enum std.typecons.member generateAssertTrap
Predefined how-policies for
. These templates are also used by
AutoImplement
and BlackHole
, respectively.
WhiteHole
Declaration
enum generateAssertTrap(C, func...) = "throw new NotImplementedError(\"" ~ C.stringof ~ "." ~ __traits(identifier, func) ~ "\");";
Authors
Andrei Alexandrescu, Bartosz Milewski, Don Clugston, Shin Fujishiro, Kenji Hara