gcc 4.5 has std::move and the containers of the stl of gcc 4.5 have
been added move assignment and move constructor
My problem is, the compiler I am using do not support rvalue
but I have to use the compiler to develop my project
Yet I am very keen on those new features of C++0x
like lambda, rvalue, new algorithm(std::iota), unique_ptr and other's
Maybe the only choice left for me is using boost
but I don't know if boost supported the rvalue feature or not?
If boost do support rvalue, how could I use it?
like std::move and those containers with move assignment and move constructor
Thank you very much
'r' in rvalue stands for 'right'. http://www.devx.com/tips/Tip/5696
What you meant was 'rvalue reference'
Anyway, whatever the problems are, don't think that a few fancy features are going to solve them. You have to put some effort.
Why don't you explain your problems here instead?
What you meant was 'rvalue reference'
Thanks, i made a mistake
You shouldn't rely on C++0x features for production use before it becomes a standard.
Maybe you are right
Why don't you explain your problems here instead?
I think I don't have any problems even without those new features of C++0x
I could handle the resources by destructor, write the function object like the old way
Make my program work without rvalue reference
It is just a little bit inconvenience without those features
No matter what, boost will be installed since it is very powerful
Since the boost libraries were developed by a motley crew of programmers, it is unlikely that all boost libraries will add rvalue references at the same time. The best you can do is download the latest boost library package, look in your favorite libraries and see if there are move constructors.
The specification has to go a year without any major edits before it can be ratified. The last major edit I'm aware of was circa March-April last year.