C ++ 0x library that implements movement for threads

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.

+3
source share
1 answer

I believe that Dinkumware sells a version of the C ++ standard library with movable threads, but be sure to check it out first.

+1
source

Source: https://habr.com/ru/post/1789387/


All Articles