-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mh randutils #234
base: devel
Are you sure you want to change the base?
Mh randutils #234
Conversation
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
It is rather strange to have a main function in the library. Is there any reason for this? It can create a name conflict |
Yes, that will be changed. Currently we're discussing how to best preserve the usage examples. |
* Example program using new RandUtils | ||
*/ | ||
|
||
int main() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Having a main in a library can cause a lot of troubles
A possibility that we have used is to add a big comment to the class including the usage. See for instance
|
API for random number generation. It uses new C++ library random functions.