Capture the default value from the original value (if it can be captured)
| 4359 | |
| 4360 | /// Capture the default value from the original value (if it can be captured) |
| 4361 | Option *capture_default_str() { |
| 4362 | if (default_function_) { |
| 4363 | default_str_ = default_function_(); |
| 4364 | } |
| 4365 | return this; |
| 4366 | } |
| 4367 | |
| 4368 | /// Set the default value string representation (does not change the contained value) |
| 4369 | Option *default_str(std::string val) { |
no outgoing calls
no test coverage detected