code_junkie

When can't an object be converted to a reference

Nov 13th, 2011
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. enh::eout << enh::setw(26);
  2.  
  3. error: no match for 'operator<<' in 'enh::eout << enh::setw(26)'
  4.  
  5. EnhSimOutput& operator<< (setw& p);
  6.  
  7. EnhSimOutput& operator<< (setw p);
  8.  
  9. enh::setw wValue(26);
  10. enh::eout << wValue;
  11.  
  12. EnhSimOutput& operator<< (setw const& p);
  13.  
  14. int nNumber = 26;
  15. enh::eout << enh::setw(nNumber);
Add Comment
Please, Sign In to add comment