14 #ifndef MLPACK_BINDINGS_MARKDOWN_DEFAULT_PARAM_HPP 15 #define MLPACK_BINDINGS_MARKDOWN_DEFAULT_PARAM_HPP 39 *((std::string*) output) =
40 cli::DefaultParamImpl<typename std::remove_pointer<T>::type>(data);
44 *((std::string*) output) =
45 python::DefaultParamImpl<typename std::remove_pointer<T>::type>(data);
49 *((std::string*) output) =
50 julia::DefaultParamImpl<typename std::remove_pointer<T>::type>(data);
54 *((std::string*) output) =
55 go::DefaultParamImpl<typename std::remove_pointer<T>::type>(data);
59 throw std::invalid_argument(
"DefaultParam(): unknown "
This structure holds all of the information about a single parameter, including its value (which is s...
void DefaultParam(const util::ParamData &data, const void *, void *output)
Print the default value of a parameter into the output string.
static std::string & Language()
Get or modify the current language (don't set it to something invalid!).