Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C - C++ Learning > Re: Problem wit...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 13 of 15 Topic 4080 of 4370
Post > Topic >>

Re: Problem with compilator DEV C++

by Francis Glassborow <francis.glassborow@[EMAIL PROTECTED] > Mar 27, 2008 at 11:40 AM

Jerry Coffin wrote:

> For this situation, specifying std::swap gives the wrong behavior. 
> Specifying their_namespace::swap doesn't work either, because it might 
> not exist. The behavior we want is obtained with a using directive 
> followed by an unadorned 'swap', and we leave it to the compiler to find

> the right one.
>  
>> A widely distributed package that allowed using declarations in its' 
>> associated  header file sounds like a Really Bad Idea to me.  I think I
have 
>> said pretty much all I want to say on this subject.
> 
I think you interchanged 'declaration' and 'directive' in the above two 
paragraphs.

-- 
Note that robinton.demon.co.uk addresses are no longer valid.
 




 15 Posts in Topic:
Problem with compilator DEV C++
"lito" <lit@  2008-03-25 14:58:45 
Re: Problem with compilator DEV C++
"osmium" <r1  2008-03-25 08:01:24 
Re: Problem with compilator DEV C++
"lito" <lit@  2008-03-25 17:51:10 
Re: Problem with compilator DEV C++
"osmium" <r1  2008-03-25 10:29:50 
Re: Problem with compilator DEV C++
Francis Glassborow <fr  2008-03-25 18:57:21 
Re: Problem with compilator DEV C++
Francis Glassborow <fr  2008-03-25 18:55:53 
Re: Problem with compilator DEV C++
"osmium" <r1  2008-03-25 11:14:09 
Re: Problem with compilator DEV C++
Francis Glassborow <fr  2008-03-26 11:15:36 
Re: Problem with compilator DEV C++
Jerry Coffin <jcoffin@  2008-03-26 07:47:57 
Re: Problem with compilator DEV C++
"osmium" <r1  2008-03-26 06:32:07 
Re: Problem with compilator DEV C++
Francis Glassborow <fr  2008-03-26 23:40:18 
Re: Problem with compilator DEV C++
Jerry Coffin <jcoffin@  2008-03-26 19:06:20 
Re: Problem with compilator DEV C++
Francis Glassborow <fr  2008-03-27 11:40:35 
Re: Problem with compilator DEV C++
Jerry Coffin <jcoffin@  2008-03-28 21:04:50 
Re: Problem with compilator DEV C++
Bart van Ingen Schenau &l  2008-03-25 20:28:41 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Nov 21 11:35:33 CST 2008.