[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
+= equivalent
From: |
Stef Pillaert |
Subject: |
+= equivalent |
Date: |
Tue, 07 Oct 1997 13:31:38 +0200 |
Hello,
is there going to be a possibility in the future to do things like:
A([1 2 3],[7 10 11]) += 5;
I think this will be faster than:
A([1 2 3],[7 10 11]) = A([1 2 3],[7 10 11]) + 5;
(searching elements only happens once in the first example...)
Or is there allready a way to avoid what happens in example two?
I'm sorry, but I don't feel capable to write those things in C++...
- += equivalent,
Stef Pillaert <=