
22 Dec
2008
22 Dec
'08
7:47 p.m.
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