C++ bitmask enums appear to be offset by 1

Thank you for this addition! I think it was the missing piece preventing me from correctly using bitflags. I either had all bitflags values, but wrongly mapped to the previous one, or the last one was missing and the first one couldn’t be ticked. So, for reference, here’s a code sample that works the expected way on my machine (UE 4.17):

UENUM(BlueprintType, meta = (Bitflags, UseEnumValuesAsMaskValuesInEditor = "true"))
enum class EPointSequenceType : uint8
{
	Linear = 1,
	HorizontalSineWave = 2,
	VerticalSineWave = 4,
	Whirl = 8
};

UPROPERTY(EditAnywhere, Category = FLZSplinePCG, meta = (Bitmask, BitmaskEnum = "EPointSequenceType"))
uint8 SequenceType;