Closed lijh8 closed 2 years ago
This repository contains code to create an offline copy of cppreference.com, it doesn't contain the source code for cppreference.com (which is a wiki).
I agree with you that example code should be valid C++, feel free to contribute your changes to cppreference.com.
Hi,
The example code here: https://en.cppreference.com/w/cpp/string/basic_string_view/substr
uses assignment expressions as arguments:
pos = 2, count = 3
It is very confusing, looks like positional parameter or named parameter in Python or Swift. Can we make it simpler?
How can I find the source file in this repo, for the corresponding html web page: ../html-book-20220201/reference/en/cpp/string/basic_string_view/substr.html
Thanks
After:
Before: