Skip to content

Conversation

@JMazurkiewicz
Copy link
Contributor

Before:
natvis_before

After:
natvis_after

before-after code
#include <mdspan>

using namespace std;

int main() {
  extents<signed char> e0;

  extents<unsigned short, 2, 3> e1;
  (void)e1.extent(0);
  (void)e1.static_extent(0);
  
  dextents<int, 2> e2(5, 7);
  (void)e2.extent(0);
  (void)e2.static_extent(0);

  extents<unsigned long, dynamic_extent, dynamic_extent, 17> e3(11, 13);
  (void)e3.extent(0);
  (void)e3.static_extent(0);

  extents<long long, 19, 23, dynamic_extent, 31> e4(29);
  (void)e4.extent(0);
  (void)e4.static_extent(0);
}

@JMazurkiewicz JMazurkiewicz requested a review from a team as a code owner January 27, 2026 17:53
@github-project-automation github-project-automation bot moved this to Initial Review in STL Code Reviews Jan 27, 2026
@StephanTLavavej StephanTLavavej added visualizer How the VS debugger displays STL types mdspan C++23 mdspan labels Jan 27, 2026
@StephanTLavavej StephanTLavavej self-assigned this Jan 28, 2026
@StephanTLavavej StephanTLavavej moved this from Initial Review to Ready To Merge in STL Code Reviews Feb 2, 2026
@StephanTLavavej StephanTLavavej removed their assignment Feb 2, 2026
@StephanTLavavej StephanTLavavej moved this from Ready To Merge to Merging in STL Code Reviews Feb 9, 2026
@StephanTLavavej
Copy link
Member

I'm mirroring this to the MSVC-internal repo. Please notify me if any further changes are pushed, otherwise no action is required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mdspan C++23 mdspan visualizer How the VS debugger displays STL types

Projects

Status: Merging

Development

Successfully merging this pull request may close these issues.

2 participants