Discussion:
[Openexr-user] std::operator<<
Dharmendra Bhojwani
2006-10-11 12:23:13 UTC
Permalink
Hi Everybody,

I have got some error in my code....

I have one function like....


void CSISHeader::Dump (std::ostream& aStream, const int aLevel) const
{
aStream << "|" << iDataType << "," << iDataSize << "|";
}

AND i am getting error while compiling with g++

error: ambiguous overload for 'operator<<' in 'std::operator<<

Can anybody please help in this ?

Thanks


---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2ยข/min or less.
Loading...