Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > copy constructor of std::auto_ptr<>

Reply
Thread Tools

copy constructor of std::auto_ptr<>

 
 
Pete Becker
Guest
Posts: n/a
 
      11-14-2006
Noah Roberts wrote:
> Alf P. Steinbach wrote:
>> * Salt_Peter:
>>> copy ctors aren't called, they are invoked.

>> The C++ standard mostly uses the term "called". In a few places it uses
>> the term "invoked". There's no inherent difference in meaning, but no
>> matter whether "call" or "invoked" is used, there are several different
>> possible meanings, and the one that applies depends on the context.

>
> Uh oh..not this one again
>
> Actually the future standard is going to have a very specific
> definition of invoke. See section 3 in TR1.
>


That's INVOKE, not invoke. C++ is case sensitive. INVOKE and INVOKE_R
are used to describe the effects of a function call operator applied to
any of the four callable types defined in TR1. They don't affect the
meaning of the English word 'invoke'.

--

-- Pete
Roundhouse Consulting, Ltd. (www.versatilecoding.com)
Author of "The Standard C++ Library Extensions: a Tutorial and
Reference." (www.petebecker.com/tr1book)
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
template copy constructor vs normal copy constructor cinsk C++ 35 10-10-2010 11:14 PM
A constructor calling another constructor (default constructor)? Generic Usenet Account C++ 10 11-28-2007 04:12 AM
Calling base class constructor from derived class Copy constructor ali C++ 4 03-05-2007 09:15 AM
deep/shallow copy - constructor v Object.copy() VisionSet Java 8 04-29-2004 10:41 PM
Copy constructor hides default constructor Aire C++ 3 01-25-2004 05:47 PM



Advertisments