We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3fee62 commit cbc3a23Copy full SHA for cbc3a23
source/mir/variant.d
@@ -32,7 +32,7 @@ struct Variant(Types...)
32
private void[Largest!Types.sizeof] payload = void;
33
private uint type; // 0 for unininit value, index = type - 1
34
private enum hasDestructor = anySatisfy!(hasElaborateDestructor, Types);
35
-pure nothrow @nogc:
+
36
static if (hasDestructor)
37
~this()
38
{
0 commit comments