Boost logo

Boost :

Subject: Re: [boost] [uuid] Interface
From: Michael Marcin (mike.marcin_at_[hidden])
Date: 2008-12-22 14:47:53


Just to drop my 2 cents.

I'd like to have the following use case be efficient.

class foo
{
   foo( const char* filename )
   {
     std::ifstream file(filename);
     file >> m_uuid;
   }

private:
   uuid m_uuid;
};

This seems like a reasonable usage pattern to me and I would be very
surprised if it was more expensive than reading into a char array.

-- 
Michael Marcin

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk