This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] Missing std qualification in std::rotate_copy


Hi y'all,

I think there's a missing std:: qual in rotate_copy, as shown in the
attached patch.

2005-04-18  Jonathan Wakely  <redi@gcc.gnu.org>

	* include/bits/stl_algo.h: Add missing std qualification.

I successfully bootstrapped and regtested on mainline late last week.
Bootstrapped and tested on v7 today, no new FAILs (I'm seeing abi_check
failure and some failures due to concept-checks, but nothing changes
with this patch)

OK to commit to mainline and v7 branch?

Aside: since rotate_copy is just two calls to std::copy, should it be
declared inline?

jon

-- 
"There are perhaps 5% of the population that simply *can't* think.
 There are another 5% who *can*, and *do*.
 The remaining 90% *can* think, but *don't*."
	- R. A. Heinlein

Attachment: libstdcxx-rotate_copy_qual.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]