On 12/24/2020 9:10 PM, Donovan Dikaio via Boost wrote:
I can look into it. But needs to make the requirements clear.
So, the task is to show *C++ standard minimum level: C++nn* for Standard attribute for each lib in this page: C++ standard minimum level: C++nn ? And we could replace nn with the actual number by checking the *cxxstd* key in a library's meta info json file.
Please let me know if I got it right.
No, the current 'Standard' mnemonic is not used by the 'cxxstd' change. Instead create a new mnemonic called "C++ standard minimum level" with the value of 03,11,14,17,20 depending on the value of the meta file json field 'cxxstd'. If the meta file json field 'cxxstd' does not exist in a library's meta file, the value of 03 is assumed. Currently I have only attempted to update the meta file with the new 'cxxstd' field and appropriate value for libraries whose minimum support is C++11 or above, with PRs. I am still waiting for four of those libraries to merge their PRs on the 'develop' branch: callable_traits coroutine2 hof hana There has also been a suggestion to remove the 'Standard' mnemonic entirely from the documentation for each library, since its previous usage is out of date and has been totally irrelevant for a long time now, and therefore ignore or remove the 'std' meta file json field. I am in favor of that also, but others may be against it. I would also not want to reuse that 'Standard' mnemonic instead of the more precise one of 'C++ standard minimum level', which is easily understood. If someone would like to argue for 'C++ standard minimum level required' that is even better but may be too long.
On Fri, Dec 25, 2020 at 10:00 AM Louis Tatta
wrote: ---------- Forwarded message --------- From: Edward Diener via Boost
Date: Wed, Dec 23, 2020 at 7:39 PM Subject: [boost] Boost website changes and .'cxxstd' To: CC: Edward Diener Even though I have worked a little with PHP in the past I do not have the talent to make the change to the website which would incorporate the addition of the meta information json field 'cxxstd' to the Boost documentation web page for each library. The idea is that if 'cxxstd' is set to a value the documentation for that library would also show:
C++ standard minimum level: C++nn
where nn would be 11, 14, 17, or 20 depending on the value of 'cxxstd'. Alternatively if there is no 'cxxstd' entry for a library or if the value of 'cxxstd' is '03', we could either specify 'nn' as '03' or leave off the line stating the 'C++ standard minimum level completely.
On the face of it this should be doable in the website code but evidently Daniel James is the only one who really understands how this works in the code and he is no longer active in Boost. So if someone else who understands the website code and PHP could do this it would be appreciated, since I think it will be valuable telling end-users whether a Boost library is usable at the C++ compiler level they are using.
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost