Closed matheusdiogenesandrade closed 10 months ago
This is related: #1271.
namespace rangesv3 {
#include <range/v3/all.hpp> // get everything
using namespace ranges;
}
I think this is what you want:
namespace rangesv3 = ::ranges;
.
Thank you very much.
Hello everyone.
I am trying to setup a C++20 project along with Range-v3. But I am having some problems. In the code below,
I am obtaining the following message:
It seems that C++20 and range-V3 namespaces are incompatible in a same scope. Thus, I decided to "wrap" ranges-V3 in a custom namespace:
Where my
rangev3.hpp
script is given below:But, I also obtained another error:
For the entire project (link).
I would like to know if someone found a way oc conciliating C++ with rangesV3.
Thanks and regards.