#include <tr1/functional>
#include <algorithm>
void assign( long* variable, long v ) {
        std::transform( variable, variable + 3, variable,
                std::tr1::bind( std::plus< long >(), 0L, v ) );
}
