![]() |
Home | Libraries | People | FAQ | More |
Retrieve a string configuration value into a character array.
template< std::size_t N> const char * get( const char * section, const char * key_name, const char * default_value, char((&value)[N]) const;
The returned pointer may be: * a pointer that is valid for the lifetime of the execution context, or
value
buffer, or
default_value, if
no value is configured.
Thrown if the configured value is too long for the supplied buffer.