[Fusion] Why restrict 'copy' to equal sizes?

Hi, As the counterpart of STL copy, I expected the src just need to be <= dst, but it requires equal sizes in Fusion. What's the rationale? Is it OK to loosen the restriction? (it just compiles if I change '==' to '<=') Thanks.

On 1/30/13 9:02 PM, TONGARI wrote:
Hi,
As the counterpart of STL copy, I expected the src just need to be <= dst, but it requires equal sizes in Fusion. What's the rationale? Is it OK to loosen the restriction? (it just compiles if I change '==' to '<=')
Makes sense. Please add a trac ticket. I'll tweak the code as soon as I can. Regards, -- Joel de Guzman http://www.boostpro.com http://boost-spirit.com

2013/1/30 Joel de Guzman
On 1/30/13 9:02 PM, TONGARI wrote:
Hi,
As the counterpart of STL copy, I expected the src just need to be <= dst, but it requires equal sizes in Fusion. What's the rationale? Is it OK to loosen the restriction? (it just compiles if I change '==' to '<=')
Makes sense. Please add a trac ticket. I'll tweak the code as soon as I can.
OK. https://svn.boost.org/trac/boost/ticket/7955 Regards

On 1/31/13 8:14 PM, TONGARI wrote:
2013/1/30 Joel de Guzman
On 1/30/13 9:02 PM, TONGARI wrote:
Hi,
As the counterpart of STL copy, I expected the src just need to be <= dst, but it requires equal sizes in Fusion. What's the rationale? Is it OK to loosen the restriction? (it just compiles if I change '==' to '<=')
Makes sense. Please add a trac ticket. I'll tweak the code as soon as I can.
OK.
Fixed. Regards, -- Joel de Guzman http://www.boostpro.com http://boost-spirit.com
participants (2)
-
Joel de Guzman
-
TONGARI