I have a C++ program where I use recursive iterator to go through folder that I provide as an argument to program.
Problem is that when I call .string on paths I get I get mixed \ and / in the path. Using .generic_string fixes this problem, but I wonder if this is a bug in VS2019 or allowed behavior.
To give some examples: I give a/b as input to my program.
When I iterate over all the files and print them using .string I get
a/b\c\bla.txt
a/b\d\lol.txt
and when I use .generic_string I get
a/b/c/bla.txt
a/b/d/lol.txt