<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://gsys.info/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://gsys.info/feed.php">
        <title>Genesys notes:concept</title>
        <description></description>
        <link>http://gsys.info/</link>
        <image rdf:resource="http://gsys.info/lib/tpl/genesys/images/favicon.ico" />
       <dc:date>2026-05-01T22:48:17+02:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://gsys.info/doku.php?id=notes:concept:optional&amp;rev=1432920408&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://gsys.info/lib/tpl/genesys/images/favicon.ico">
        <title>Genesys</title>
        <link>http://gsys.info/</link>
        <url>http://gsys.info/lib/tpl/genesys/images/favicon.ico</url>
    </image>
    <item rdf:about="http://gsys.info/doku.php?id=notes:concept:optional&amp;rev=1432920408&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2015-05-29T19:26:48+02:00</dc:date>
        <title>notes:concept:optional</title>
        <link>http://gsys.info/doku.php?id=notes:concept:optional&amp;rev=1432920408&amp;do=diff</link>
        <description>Konzept: optional

Ein Pointer ist im Prinzip nur eine optionale Referenz (sofern nicht für Pointer-Arithmetik verwendet)

optional wird mit einem „?“ hinter dem Datentyp ausgedrückt, vgl. C#.


p is Person;
p is Person ref; // shared_ptr&lt; Person &gt;  (ifc::ref)
p is Person ref?; // opt_shared_ptr&lt; Person &gt; (darf null sein)  (ifc::refopt)
p is Person ptr; // Person &amp;  (value!!, muss gesetzt sein, erlaubt Pointer-Arithmetik)
p is Person ptr?; // Person *  (value!!, darf null sein, erlaubt Pointer-A…</description>
    </item>
</rdf:RDF>
