Basic usage of a omit
generator directive. It shows how it consumes the first element of the
provided attribute without generating anything, leaving the second element
of the attribute to the non-wrapped double_
generator.

Generally, this directive is helpful in situations, where the attribute
type contains more information (elements) than need to be used to generate
the required output. Normally in such situations we would resolve to
use semantic actions to explicitly pass the correct parts of the overall
attribute to the generators. The omit
directive helps achieving the same without having to use semantic actions.

Consider the attribute type:

typedeffusion::vector<int,double,std::string>attribute_type;

where we need to generate output only from the first and last element: