After searching for an answer to How to return fstream (C ++ 0x) , I wondered if there is a current C ++ 0x library that implements move (or even swap) for fstream (like gcc (27.9) doesn't). I would prefer if he were free too.
Or is there another way to return to functions from values by value?
I tried compiling libcxx , but it seems very specific to linux / mac, and I also need to run it on Solaris, which it will not compile.
I can get around this problem (for example, return by reference), but I thought that I would ask about it just in case there would be a solution that does not include changing the calling code.
source
share