<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.randomness.nu/mediawiki/index.php?action=history&amp;feed=atom&amp;title=homo.cpp</id>
	<title>homo.cpp - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.randomness.nu/mediawiki/index.php?action=history&amp;feed=atom&amp;title=homo.cpp"/>
	<link rel="alternate" type="text/html" href="https://wiki.randomness.nu/mediawiki/index.php?title=homo.cpp&amp;action=history"/>
	<updated>2026-05-14T13:15:07Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://wiki.randomness.nu/mediawiki/index.php?title=homo.cpp&amp;diff=76&amp;oldid=prev</id>
		<title>Derg: Created page with &quot; &lt;syntaxhighlight lang=&quot;C++&quot;&gt; #include &lt;iostream&gt; #include &lt;string&gt;  class Homo { private: public:     std::string key;     void operator= (std::string index)     {         std::cout &lt;&lt; this-&gt;key &lt;&lt; &quot; is &quot; &lt;&lt; index &lt;&lt; std::endl;     } };  class Gay { private: public:     Homo operator[] (std::string index)     {         Homo h;         h.key = index;         return h;     } };  int main() {         Gay gay;         gay[&quot;your mom&quot;] = &quot;gay&quot;;         return 0; } &lt;/syntaxhig...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.randomness.nu/mediawiki/index.php?title=homo.cpp&amp;diff=76&amp;oldid=prev"/>
		<updated>2024-09-15T04:35:40Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; &amp;lt;syntaxhighlight lang=&amp;quot;C++&amp;quot;&amp;gt; #include &amp;lt;iostream&amp;gt; #include &amp;lt;string&amp;gt;  class Homo { private: public:     std::string key;     void operator= (std::string index)     {         std::cout &amp;lt;&amp;lt; this-&amp;gt;key &amp;lt;&amp;lt; &amp;quot; is &amp;quot; &amp;lt;&amp;lt; index &amp;lt;&amp;lt; std::endl;     } };  class Gay { private: public:     Homo operator[] (std::string index)     {         Homo h;         h.key = index;         return h;     } };  int main() {         Gay gay;         gay[&amp;quot;your mom&amp;quot;] = &amp;quot;gay&amp;quot;;         return 0; } &amp;lt;/syntaxhig...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;C++&amp;quot;&amp;gt;&lt;br /&gt;
#include &amp;lt;iostream&amp;gt;&lt;br /&gt;
#include &amp;lt;string&amp;gt;&lt;br /&gt;
&lt;br /&gt;
class Homo&lt;br /&gt;
{&lt;br /&gt;
private:&lt;br /&gt;
public:&lt;br /&gt;
    std::string key;&lt;br /&gt;
    void operator= (std::string index)&lt;br /&gt;
    {&lt;br /&gt;
        std::cout &amp;lt;&amp;lt; this-&amp;gt;key &amp;lt;&amp;lt; &amp;quot; is &amp;quot; &amp;lt;&amp;lt; index &amp;lt;&amp;lt; std::endl;&lt;br /&gt;
    }&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
class Gay&lt;br /&gt;
{&lt;br /&gt;
private:&lt;br /&gt;
public:&lt;br /&gt;
    Homo operator[] (std::string index)&lt;br /&gt;
    {&lt;br /&gt;
        Homo h;&lt;br /&gt;
        h.key = index;&lt;br /&gt;
        return h;&lt;br /&gt;
    }&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
int main()&lt;br /&gt;
{&lt;br /&gt;
        Gay gay;&lt;br /&gt;
        gay[&amp;quot;your mom&amp;quot;] = &amp;quot;gay&amp;quot;;&lt;br /&gt;
        return 0;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Derg</name></author>
	</entry>
</feed>