------- Comment #9 from sebor at roguewave dot com 2007-01-10 05:55 ------- Even if the spec did permit undefined behavior it would make sense to implement something reasonable if it's easy (as Paolo suggests it might be) and if the cost is acceptable. But just to put your mind at ease I'll write up an issue and make it clear that cshift really is required to simply return *this for empty arrays.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30416