🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.c
Article #309540

Re: C++: Inteligentne wskaźniki i dll-e

#309540
From: AK
Date: Fri, 29 Dec 2017 08:36
14 lines
1462 bytes
Użytkownik <szykcech@gmail.com> napisał:
>> W przypadku QSharedPointer najlepiej przekazywać QWeakPointer i sprawdzać czy pointer jest 
>> poprawny.

> Jak to sprawdzić czy "pointer jest poprawny"?!?

Normalnie. Jak wiekszosc weak pointerow.

if ( weak_ptr )
{
     // poprawny => obiekt dostepny
}

AK 
Technical Details
Message-ID: <p24uq0$1ge0$1@gioia.aioe.org>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.nask.pl!news.nask.org.pl!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail
References: <4bb38da4-2049-4e40-a507-3c1490d05d7e@googlegroups.com> <405033b7-1e7f-4850-9493-d2e0a7ab259f@googlegroups.com> <p22o44$1ur1$1@gioia.aioe.org> <a41c7232-f19c-4ec2-9af7-bb8c4dcbc222@googlegroups.com> <da02d9bf-bb79-4ce2-b2ab-b2523bcfe1d8@googlegroups.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.nask.pl!news.nask.org.pl!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail
From: "AK" <nobody@nowhere.net>
Newsgroups: pl.comp.lang.c
Subject: Re: C++: Inteligentne wskaźniki i dll-e
Date: Fri, 29 Dec 2017 09:36:08 +0100
Organization: Aioe.org NNTP Server
Lines: 15
Message-ID: <p24uq0$1ge0$1@gioia.aioe.org>
References: <4bb38da4-2049-4e40-a507-3c1490d05d7e@googlegroups.com> <405033b7-1e7f-4850-9493-d2e0a7ab259f@googlegroups.com> <p22o44$1ur1$1@gioia.aioe.org> <a41c7232-f19c-4ec2-9af7-bb8c4dcbc222@googlegroups.com> <da02d9bf-bb79-4ce2-b2ab-b2523bcfe1d8@googlegroups.com>
NNTP-Posting-Host: 5+M98RmRGH3uG3Y0OcK4wA.user.gioia.aioe.org
Mime-Version: 1.0
X-Complaints-To: abuse@aioe.org
X-Newsreader: Microsoft Windows Mail 6.0.6002.18197
X-Notice: Filtered by postfilter v. 0.8.2
X-MSMail-Priority: Normal
X-Antivirus-Status: Clean
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.19694
X-Antivirus: Avast (VPS 171228-2, 2017-12-28), Outbound message
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit