[LLVMbugs] [Bug 9632] New: bitset does not define operator>> and operator<< for streams

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Apr 5 07:42:19 PDT 2011


http://llvm.org/bugs/show_bug.cgi?id=9632

           Summary: bitset does not define operator>> and operator<< for
                    streams
           Product: libc++
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
        AssignedTo: hhinnant at apple.com
        ReportedBy: chris at bubblescope.net
                CC: llvmbugs at cs.uiuc.edu


I believe, based on the standard, that <bitset> should define both of:

template <class charT, class traits, size_t N>
basic_istream<charT, traits>&
operator>>(basic_istream<charT, traits>& is, bitset<N>& x);

template <class charT, class traits, size_t N>
basic_ostream<charT, traits>&
operator<<(basic_ostream<charT, traits>& os, const bitset<N>& x);

But these are instead in <ostream> and <istream>.

Chris

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list