The compiler fails to correctly pick a constrained perfect forwarding constructor, even when the constraint is true. An identical class that checks the constraint in the constructor body via static_as…

The order of operations in std::vector::push_back and std::vector::emplace_back is wrong. The implementation reallocates memory first, and then attempts a new construction. The core issue is that if t…

When attempting to use concurrent_queue<T>, if T is a non-POD type, the queue will fail to clear correctly. Took me a while to track down this bug but in the clear() method of concurrent_queue, there …

When the return-type-specifier is omitted from a lambda definition, then the compiler will deduce the return type if the lambda body is a single return statement, or void. However, in the case present…

The compiler will fail to compile a call to std::enable_if where the condition depends on sizeof(), but succeeds if the sizeof() call is abstracted into another location- even when the logic is identi…

The provided STL hash implementation can only hash strings allocated using the default allocators. Attempting to hash a string with a custom allocator provided will result in a compile-time error, as …

When defining a template with a static array and then attempting to define that static array, the compiler issues error C3860 erroneously. C3860 states that the template arguments must be issued in th…