[mlpack-git] [mlpack/mlpack] Allow input and output parameters to be specified with PARAM_* macros (#723)

Marcus Edel notifications at github.com
Sat Jul 16 06:56:14 EDT 2016


> @@ -23,16 +23,19 @@ namespace mlpack {
>   * @tparam T The type of the parameter.
>   * @param identifier The name of the parameter, eg foo in bar/foo.
>   * @param description A string description of the parameter.
> - * @param parent The name of the parent of the parameter,
> - *   eg bar/foo in bar/foo/buzz.
> - * @param required If required, the program will refuse to run
> - *   unless the parameter is specified.
> + * @param parent The name of the parent of the parameter, e.g. bar/foo in
> + *     bar/foo/buzz.
> + * @param required If required, the program will refuse to run unless the
> + *     parameter is specified.
> + * @param input If true, the parameter is an input parameter (not an output
> + *     parameter).
>   */
>  template<typename T>
>  void CLI::Add(const std::string& identifier,
>                const std::string& description,
>                const std::string& alias,

It's some inconsistency from the old code, but I think we should use `parent` here.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/723/files/846af8610a10ae624e82a2b50e5cfdc3cec950d2#r71064598
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160716/9f082356/attachment.html>


More information about the mlpack-git mailing list