template <class T>
typed_value<T>* value()

Description

Creates a typed_value <T > instance. This function is the primary method to create value_semantic instance for a specific type, which can later be passed to 'option_description' constructor. The second overload is used when it's additionally desired to store the value of option into program variable.

Declared at: libs/pika/program_options/include/pika/program_options/value_semantic.hpp:405