MCPcopy Create free account
hub / github.com/bshoshany/thread-pool / arg_parser

Method arg_parser

tests/BS_thread_pool_test.cpp:3874–3874  ·  view source on GitHub ↗

* @brief Convert the command line arguments passed to the `main()` function into an `std::vector`. * * @param argc The number of arguments. * @param argv An array containing the arguments. */

Source from the content-addressed store, hash-verified

3872 * @param argv An array containing the arguments.
3873 */
3874 arg_parser(int argc, char* argv[]) : args(argv + 1, argv + argc), executable(argv[0]) {};
3875
3876 /**
3877 * @brief Check if a specific command line argument has been passed to the program. If no arguments were passed, use the default value instead.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected