This PR fixes queue initialization when using older compilers or if this flag is not properly set. In our case was it 199711L when it should be 201100L. When queue is not initialized it causes undefined behavior resulting in an application crash.
Also comparison should proprably be __cplusplus >= 201100L to include c++11, but this is minor issue.
This PR fixes queue initialization when using older compilers or if this flag is not properly set. In our case was it
199711L
when it should be201100L
. When queue is not initialized it causes undefined behavior resulting in an application crash.Also comparison should proprably be
__cplusplus >= 201100L
to includec++11
, but this is minor issue.