[libcxx-commits] [PATCH] D118809: [libc++] Define `namespace views` in its own detail header.

Dimitry Andric via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Apr 7 12:33:55 PDT 2022


dim added a comment.
Herald added a project: All.

It's a pity this one didn't make it into 14.0.0, as you now can't even include <ranges> without immediately getting an error:

  % cat test-ranges.cpp
  #include <ranges>
  
  % c++ -c test-ranges.cpp
  In file included from test-ranges.cpp:1:
  /usr/include/c++/v1/ranges:240:19: error: use of undeclared identifier 'ranges'
  namespace views = ranges::views;
                    ^
  1 error generated.

This should definitely go into 14.0.1, then?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118809/new/

https://reviews.llvm.org/D118809



More information about the libcxx-commits mailing list