Boost logo

Boost :

Subject: [boost] [move] one more dumb question
From: DE (satan66613_at_[hidden])
Date: 2010-02-25 15:57:25

how do i make a function return an object by value and other object
to, say, move assign from that returned object within current C++ std?

  my_type foo() {/*...*/}
  my_type a;
  a = foo(); //move assignment is intended here


Boost list run by bdawes at, gregod at, cpdaniel at, john at