C++ compiler does not recognize std::stringstream::swap

前端 未结 1 786
梦毁少年i
梦毁少年i 2021-01-19 12:14

I am trying to compile the following code with g++ (GCC) 4.8.2 20131212 (Red Hat 4.8.2-7):

#include 
using namespace std;

int main(int argc,          


        
相关标签:
1条回答
  • From the GCC implementation status:

    Section: 27.5
    Description: Iostreams base classes
    Support: Partial
    Comments:

    • Missing move and swap operations on basic_ios.
    • Missing io_errc and iostream_category.
    • ios_base::failure is not derived from system_error.
    • Missing ios_base::hexfloat.

    more info here

    0 讨论(0)
提交回复
热议问题