Farid Zaripov wrote: >> -----Original Message----- >> From: Martin Sebor [mailto:sebor@roguewave.com] >> Sent: Tuesday, March 27, 2007 8:05 PM >> To: stdcxx-dev@incubator.apache.org >> Subject: Re: std::getline() declaration header >> >> Farid Zaripov wrote: >>> At the moment the functions std::getline (basic_istream&, >>> basic_string&) >>> std::getline (basic_istream&, basic_string&, delim) and >>> operator>> (basic_istream&, basic_string&) are declared in >>> header file, but according to "21.2 Header synopsis" they >>> should be declared in header file. >> Is this detectable? I.e., do you have a test case or is it >> something you found by inspection of the code? > > I've found it during compiling the boost on cygwin. > > I've created the issue (the test case inside): > https://issues.apache.org/jira/browse/STDCXX-375 I don't think the test case is valid. It expects std::istream to be a complete type but it only #includes and not . only declares the type (which need not make it complete). Let me know if you disagree or if you have a test case that detects it w/o relying on istream being a complete type. Martin