I draw random numbers using &lt;random&gt; from C++11. I do it by creating an instance obj of the following class (for the interested reader: It is taken from this thread):

class RNG
{
public:
    typedef std::mt19937 Engine;
    typedef std::uniform_real_distribution&lt;double&gt; Distribution;


    double operator()()
    {
        return distribution(engine);
    }
    Engine engine;
    Distribution distribution;
};


Calling obj() gives me the desired random number. Now, I have three functions that all have to use obj. Declaring obj global would work, but is it also correct? Or are there other (more correct) alternatives?


Question: Is it possible to use "authorized_keys" to ssh into Cisco ASA 5510
Answer: No.  Cisco's just starting to clue in to public key authentication in IOS version 15, but that's no help for the ASA line.  This is, unfortunately, not possible.