As unrestricted unions are not used for Visual Studio 2013, default
T object;
field is created in value template class default contructor. But as allocation is initialized with None this default object leaks, when we start to generate test values. So, for example, there is a memory leak in the following code, if it is compiled by Visual Studio 2013:
As unrestricted unions are not used for Visual Studio 2013, default
field is created in
value
template class default contructor. But asallocation
is initialized withNone
this default object leaks, when we start to generate test values. So, for example, there is a memory leak in the following code, if it is compiled by Visual Studio 2013:Patch fixes this leakage and turns on unrestricted union usage for Visual Studio 2015+.