STL/.github/ISSUE_TEMPLATE/bug-report.md

1.8 KiB

name about title labels assignees
Bug Report Report a bug in the STL <header>: Problem

Describe the bug A clear and concise description of what the bug is. Please check that you've read the guidelines for submitting STL bug reports in README.md. If you are having problems with any component that is not the STL, instructions to get to the right place are there.

Command-line test case

C:\Temp>type repro.cpp
#include <iostream>

int main() {
    // Replace this program with one demonstrating your actual bug report,
    // along with the following compilation command. Please leave compiler
    // version banners in the output (don't use /nologo), and include output
    // of your test program, if any.
    std::cout << "test failure\n";
}

C:\Temp>cl /EHsc /W4 /WX .\repro.cpp
Microsoft (R) C/C++ Optimizing Compiler Version 19.23.28019.1 for x64
Copyright (C) Microsoft Corporation.  All rights reserved.

repro.cpp
Microsoft (R) Incremental Linker Version 14.23.28019.1
Copyright (C) Microsoft Corporation.  All rights reserved.

/out:repro.exe
repro.obj

C:\Temp>.\repro.exe
test failure

Expected behavior A clear and concise description of what you expected to happen. Alternatively, include static_assert or assert lines in your test case above whose failure clearly indicates the problem.

STL version

  • Option 1: Visual Studio version

    • Displayed in Help > About Microsoft Visual Studio
    • Example:
      Microsoft Visual Studio Community 2019 Preview
      Version 16.5.0 Preview 5.0
      
  • Option 2: git commit hash

    • Example:
      https://github.com/microsoft/STL/commit/2195148
      

Additional context Add any other context about the problem here.