include/bio/format/vcf_output_handler.hpp
format_output_handler(std::ostream & str, auto const & options) : base_t{str}
    {
        // extract options
        if constexpr (requires { (bool)options.write_IDX; })
            write_IDX = options.write_IDX;

        if constexpr (requires { (bool)options.windows_eol; })
            windows_eol = options.windows_eol;
    }
/*!\brief Construct with an options object.
     * \param[in,out] str The output stream.
     * \param[in] options An object with options for the output handler.
     * \details
     *
     * The options argument is typically bio::var_io::writer_options, but any object with a subset of similarly named
     * members is also accepted. See bio::format_output_handler<vcf> for the supported options and defaults.
     */
\brief Construct with an options object.
\param[in,out] str The output stream.
\param[in] options An object with options for the output handler.
\details

The options argument is typically bio::var_io::writer_options, but any object with a subset of similarly named
members is also accepted. See bio::format_output_handler for the supported options and defaults.
\ brief Construct with an options object . \ param [ in out ] str The output stream . \ param [ in ] options An object with options for the output handler . \ details The options argument is typically bio :: var_io :: writer_options but any object with a subset of similarly named members is also accepted . See bio :: format_output_handler for the supported options and defaults .
format_output_handler(std::ostream & str, auto const & options) : base_t{str}
    {
        if constexpr (requires { (bool)options.write_IDX; })
            write_IDX = options.write_IDX;
        if constexpr (requires { (bool)options.windows_eol; })
            windows_eol = options.windows_eol;
    }
format_output_handler ( std :: ostream & str , auto const & options ) : base_t { str } { if constexpr ( requires { ( bool ) options . write_IDX ; } ) write_IDX = options . write_IDX ; if constexpr ( requires { ( bool ) options . windows_eol ; } ) windows_eol = options . windows_eol ; }
\brief Construct with an options object.
\ brief Construct with an options object .
// extract options