[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.aspnet.caching

Kindly give me activation code of auto cad 2006

siddhesh durgawli

1/22/2012 11:37:00 AM

my products auto cad 2006
Serial no.666-98989898
request code is :-J7wa ptat dn8e 1nnj vluj acu8 vjfq

Kindly give me activation code of auto cad 2006
3 Answers

Juha Nieminen

8/14/2009 4:19:00 PM

0

Noah Roberts wrote:
> Juha Nieminen wrote:
>> Hicham Mouline wrote:
>>> ... my colleague says.
>>>
>>> I disagree on the "Never".
>>>
>>> Opinions about this "rule of thumb" welcome.
>>
>> I would like to see him implement a doubly-linked list with smart
>> pointers.
>
> Just look at the code for std::list.

Which uses raw pointers, not smart ones.

Noah Roberts

8/14/2009 4:35:00 PM

0

Juha Nieminen wrote:
> Noah Roberts wrote:
>> Juha Nieminen wrote:
>>> Hicham Mouline wrote:
>>>> ... my colleague says.
>>>>
>>>> I disagree on the "Never".
>>>>
>>>> Opinions about this "rule of thumb" welcome.
>>> I would like to see him implement a doubly-linked list with smart
>>> pointers.
>> Just look at the code for std::list.
>
> Which uses raw pointers, not smart ones.

First off, note the wording of the standard being discussed:

"Never ever use a raw pointer when a smart pointer can do the same job."

Demanding that someone use a smart pointer where it supposedly can't do
the job (it can) to counter such a standard is a straw man.

Second off, note that no raw pointer is exposed by std::list.
std::vector *might* expose a pointer but it does so in such a way that
it's actually smarter than your average raw pointer. It has traits
attached to it, turning it into an iterator (a smart pointer). The
std::list template cannot do this.

When a smart pointer can't do the job (or isn't the best way),
sufficient encapsulation can render its bite negligible.

Juha Nieminen

8/14/2009 9:47:00 PM

0

Noah Roberts wrote:
> Second off, note that no raw pointer is exposed by std::list.

I didn't say "I would like to see him *use* a doubly-linked list with
smart pointers."

What I said was "I would like to see him *implement* a doubly-linked
list with smart pointers."

There's a radical difference. Your argument that std::list doesn't
expose the raw pointers is about *using* std::list rather than
*implementing* it.