@@ -38,11 +38,6 @@ namespace boost { namespace program_options {
3838 should be present on the command line. */
3939 virtual unsigned max_tokens () const = 0;
4040
41- /* * Returns true if the option should only take adjacent token,
42- not one from further command-line arguments.
43- */
44- virtual bool adjacent_tokens_only () const = 0;
45-
4641 /* * Returns true if values from different sources should be composed.
4742 Otherwise, value from the first source is used and values from
4843 other sources are discarded.
@@ -53,7 +48,7 @@ namespace boost { namespace program_options {
5348
5449 */
5550 virtual bool is_required () const = 0;
56-
51+
5752 /* * Parses a group of tokens that specify a value of option.
5853 Stores the result in 'value_store', using whatever representation
5954 is desired. May be be called several times if value of the same
@@ -139,7 +134,6 @@ namespace boost { namespace program_options {
139134
140135 unsigned min_tokens () const ;
141136 unsigned max_tokens () const ;
142- bool adjacent_tokens_only () const { return false ; }
143137
144138 bool is_composing () const { return false ; }
145139
@@ -224,10 +218,7 @@ namespace boost { namespace program_options {
224218
225219 /* * Specifies an implicit value, which will be used
226220 if the option is given, but without an adjacent value.
227- Using this implies that an explicit value is optional, but if
228- given, must be strictly adjacent to the option, i.e.: '-ovalue'
229- or '--option=value'. Giving '-o' or '--option' will cause the
230- implicit value to be applied.
221+ Using this implies that an explicit value is optional,
231222 */
232223 typed_value* implicit_value (const T &v)
233224 {
@@ -331,8 +322,6 @@ namespace boost { namespace program_options {
331322 }
332323 }
333324
334- bool adjacent_tokens_only () const { return !m_implicit_value.empty (); }
335-
336325 bool is_required () const { return m_required; }
337326
338327 /* * Creates an instance of the 'validator' class and calls
0 commit comments