Re: [boost] Help Boost, Please!

On Apr 24, 2023, at 21:03, Louis Tatta via Boost
wrote: The more that people help out, the better the results will be.
I just asked GPT-4 to do it!
Of course, without too much context it produces nonsense, see below, but providing it with more detailed instructions and previously existing documentation on this and asking to change this and that can possibly do the job.
Below the contributor guide I am posting an even more exotic "beginner's guide to asio". I suspect it might be complete nonsense too, but enjoy!
Cheers,
Kostas
===============================================================================
Boost Library Contributor Guide
Thank you for your interest in contributing to the Boost library collection. The following guide outlines the requirements and guidelines for submitting a library to Boost.
Requirements
To ensure a smooth submission process and avoid rejection, the library you submit must meet the following requirements:
License requirements:
The license must be simple to read and understand.
The license must grant permission without fee to copy, use, and modify the software for any use (commercial and non-commercial).
The license must require that the license appear on all copies of the software source code.
The license must not require that the license appear with executables or other binary uses of the library.
The license must not require that the source code be available for execution or other binary uses of the library.
The license may restrict the use of the name and description of the library to the standard version found on the Boost website.
Restricted licenses like the GPL and LGPL are not acceptable.
Copyright ownership:
The copyright ownership of the library must be clear.
Include a copyright notice in all the important files you submit.
Portability requirements:
The library's interface must be portable and not restricted to a particular compiler or operating system.
The library's implementation must, if possible, be portable and not restricted to a particular compiler or operating system.
If a portable implementation is not possible, non-portable constructions are acceptable if reasonably easy to port to other environments.
Implementations must be provided for at least two popular operating systems (such as UNIX and Windows).
The library must run on at least two C++ compilers implementing the latest ISO C++ standard.
Boost contributors often try to ensure their libraries work with popular compilers. Use the boost/config.hpp configuration header to work around compiler deficiencies.
Organization requirements:
The library must be generally useful.
The library must adhere to the Boost standard library organization upon acceptance.
The author must be willing to participate in discussions on the mailing list and refine the library accordingly.
Guidelines
To increase the chances of your library being accepted and to maintain consistency within the Boost library collection, follow these guidelines:
Backwards compatibility:
Provide a stable interface for your library, and avoid breaking changes unless absolutely necessary.
If you must introduce breaking changes, provide a clear and easy migration path for users.
Design and programming:
Follow the C++ standard library conventions and idioms whenever possible.
Avoid overly complex designs and keep the library simple and easy to use.
Filenames:
Use lowercase filenames, with words separated by underscores.
Use the .hpp extension for header files, and the .cpp extension for implementation files.
Naming consistency:
Use consistent naming conventions for classes, functions, and other identifiers.
Follow the Boost naming conventions as closely as possible.
Documentation:
Provide thorough and clear documentation for your library.
Use Doxygen-style comments in your header files to document interfaces and functions.
Provide examples and usage scenarios to demonstrate how to use your library.
Rationale
For a detailed explanation of the reasons behind these requirements and guidelines, refer to the Boost Library Requirements and Guidelines document.
Acknowledgements
We appreciate your contribution to the Boost library collection and thank you for following these requirements and guidelines. If you have any questions or concerns, please don't hesitate to ask for help on the Boost developers mailing list.
=============================================================================================
could you write a new user guide for the boost.asio library?
Sure, I can provide a beginner's guide to using the Boost.Asio library. Here it is:
Boost.Asio is a library for network and low-level I/O programming in C++. It provides a set of abstractions for dealing with sockets, timers, and other I/O objects. Boost.Asio is designed to be portable across operating systems and platforms and is built on top of the Boost C++ libraries.
To use Boost.Asio, you'll need to have the Boost libraries installed on your system. You can download the latest version of Boost from the Boost website, and follow the instructions for installation.
Once you have Boost installed, you can include the Boost.Asio header file in your C++ code:
cpp
#include
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
participants (1)
-
Kostas Savvidis