#ifndef INCLUDED_BOBCAT_IUO_
#define INCLUDED_BOBCAT_IUO_

#include <cstddef>
#include <getopt.h>

namespace FBB
{

void deprecated__(bool &called, char const *msg);

class OptStructArray
{
    using OptStruct =  struct option;

    size_t    d_n;
    OptStruct *d_opt;

    public:
        OptStructArray(size_t n);
        ~OptStructArray();

        OptStruct *get();
};

inline OptStructArray::~OptStructArray()
{
    delete [] d_opt;
}
inline OptStructArray::OptStruct *OptStructArray::get()
{
    return d_opt;
}

} // FBB

#endif
