Opened 16 years ago

Last modified 11 years ago

#795 new Feature Requests (None)

[ublas] vector::back()

Reported by: slyilmaz Owned by: Gunter
Milestone: Component: uBLAS
Version: None Severity: Cosmetic
Keywords: Cc:

Description (last modified by Dave Abrahams)

It would be nice to have this useful, nice little member...

T& back() {
 return *rbegin();
}

and

const T& back() const {
 return *rbegin();
}

Change History (3)

comment:1 by Dave Abrahams, 15 years ago

Component: NoneuBLAS
Description: modified (diff)
Severity: Optimization

comment:2 by Gunter, 15 years ago

Owner: changed from nobody to Gunter
Severity: OptimizationCosmetic
Status: assignednew

I take ownership to watch this issue. However, don't expect it to be implemented soon.

comment:3 by anonymous, 11 years ago

I do agree with slyilmaz. uBLAS vector could be more similar with standard STL vector, so that an easier interoperability could be in place.

Note: See TracTickets for help on using tickets.