Re: [Stlport-devel] Bug in template definition for make_pair?
Brought to you by:
complement
From: Ulrich E. <eck...@sa...> - 2006-08-07 06:35:38
|
On Thursday 03 August 2006 19:36, Petr Ovtchenkov wrote: > On Wednesday 02 August 2006 12:38, Kees de Bruin wrote: > > I've been running an older Perennial C++ testsuite and found a problem > > with the template definition for make_pair. According to the standard > > (section 20.2.2) the definition should be: > > > > template<class T1, class T2> pair<T1,T2> make_pair(const T1&, const T2&); > > You citation is wrong. This string not from Standard. Not from C++ standard, but from the Standard Template Library. I'd therefore propose the attached patch which clarifies this issue. It also documents what I think are the reasons for having overloads for arrays as extensions. Uli **************************************************** Visit our website at <http://www.domino-printing.com/> **************************************************** This Email and any files transmitted with it are intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any reading, redistribution, disclosure or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient please contact the sender immediately and delete the material from your computer. E-mail may be susceptible to data corruption, interception, viruses and unauthorised amendment and Domino UK Limited does not accept liability for any such corruption, interception, viruses or amendment or their consequences. **************************************************** |