Did you try -DBOOST_UBLAS_MOVE_SEMANTICS
?
> To: ublas@lists.boost.org
> From: ndbecker2@gmail.com
> Date: Wed, 16 Sep 2009 18:50:06 -0400
> Subject: Re: [ublas] [patch] Move Semantics for uBlas
>
> What result should I expect? If I compile on gcc-4.4.1 with -O3 -std=c++0x
> it looks like move semantics are not enabled:
> ./test_move
> vector<double>
> --------------------------------------------------------------------
> Temporary pointer: 0x2561050
> Pointer (must be equal to temp. pointer if move semantics are enabled) :
> 0x2561010
> [2](4,4)
> [rest of tests similar]
>
> _______________________________________________
> ublas mailing list
> ublas@lists.boost.org
> http://lists.boost.org/mailman/listinfo.cgi/ublas
> Sent to: nasos_i@hotmail.com
Bing brings you health info from trusted sources. Try it now!