<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Type Traits]]></title><description><![CDATA[<p>Was kann man mit Type Traits machen? Nur sowas wie is_int usw. oder gibts da noch mehr?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/297068/type-traits</link><generator>RSS for Node</generator><lastBuildDate>Fri, 14 Aug 2026 14:43:27 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/297068.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 18 Dec 2011 16:07:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Type Traits on Sun, 18 Dec 2011 16:07:02 GMT]]></title><description><![CDATA[<p>Was kann man mit Type Traits machen? Nur sowas wie is_int usw. oder gibts da noch mehr?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2158412</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2158412</guid><dc:creator><![CDATA[traitertyp]]></dc:creator><pubDate>Sun, 18 Dec 2011 16:07:02 GMT</pubDate></item><item><title><![CDATA[Reply to Type Traits on Sun, 18 Dec 2011 16:28:44 GMT]]></title><description><![CDATA[<p><a href="http://www.boost.org/doc/libs/1_48_0/libs/type_traits/doc/html/index.html" rel="nofollow">Boost.TypeTraits</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2158424</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2158424</guid><dc:creator><![CDATA[Nexus]]></dc:creator><pubDate>Sun, 18 Dec 2011 16:28:44 GMT</pubDate></item><item><title><![CDATA[Reply to Type Traits on Sun, 18 Dec 2011 16:28:58 GMT]]></title><description><![CDATA[<p>Na schau dir mal std::advance an, da siehst du eine weitere Anwendung. Nämlich um gewisse Iteratoreeigenschaften zu definieren.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2158425</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2158425</guid><dc:creator><![CDATA[Firefighter]]></dc:creator><pubDate>Sun, 18 Dec 2011 16:28:58 GMT</pubDate></item><item><title><![CDATA[Reply to Type Traits on Sun, 18 Dec 2011 17:31:36 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">namespace std 
{
    namespace tr1 
    {
        template &lt;class _T, _T _V&gt;
        struct integral_constant;

        typedef integral_constant&lt;bool, true&gt; true_type;
        typedef integral_constant&lt;bool, false&gt; false_type;

        // Unary Type Traits
        template &lt;class _T&gt; struct is_void;
        template &lt;class _T&gt; struct is_integral;
        template &lt;class _T&gt; struct is_floating_point;
        template &lt;class _T&gt; struct is_array;
        template &lt;class _T&gt; struct is_pointer;
        template &lt;class _T&gt; struct is_reference;
        template &lt;class _T&gt; struct is_member_object_pointer;
        template &lt;class _T&gt; struct is_member_function_pointer;
        template &lt;class _T&gt; struct is_enum;
        template &lt;class _T&gt; struct is_union;
        template &lt;class _T&gt; struct is_class;
        template &lt;class _T&gt; struct is_function;

        template &lt;class _T&gt; struct is_arithmetic;
        template &lt;class _T&gt; struct is_fundamental;
        template &lt;class _T&gt; struct is_object;
        template &lt;class _T&gt; struct is_scalar;
        template &lt;class _T&gt; struct is_compound;
        template &lt;class _T&gt; struct is_member_pointer;

        template &lt;class _T&gt; struct is_const;
        template &lt;class _T&gt; struct is_volatile;
        template &lt;class _T&gt; struct is_pod;
        template &lt;class _T&gt; struct is_empty;
        template &lt;class _T&gt; struct is_polymorphic;
        template &lt;class _T&gt; struct is_abstract;
        template &lt;class _T&gt; struct has_trivial_constructor;
        template &lt;class _T&gt; struct has_trivial_copy;
        template &lt;class _T&gt; struct has_trivial_assign;
        template &lt;class _T&gt; struct has_trivial_destructor;
        template &lt;class _T&gt; struct has_nothrow_constructor;
        template &lt;class _T&gt; struct has_nothrow_copy;
        template &lt;class _T&gt; struct has_nothrow_assign;
        template &lt;class _T&gt; struct has_virtual_destructor;
        template &lt;class _T&gt; struct is_signed;
        template &lt;class _T&gt; struct is_unsigned;

        template &lt;class _T&gt; struct alignment_of;
        template &lt;class _T&gt; struct rank;
        template &lt;class _T, unsigned _I = 0&gt; struct extent;

        // Binary Type Traits
        template &lt;class _T, class _U&gt; struct is_same;
        template &lt;class _From, class _To&gt; struct is_convertible;
        template &lt;class _From, class _To&gt; struct is_base_of;

        // Transformation Type Traits
        template &lt;class _T&gt; struct remove_const;
        template &lt;class _T&gt; struct remove_volatile;
        template &lt;class _T&gt; struct remove_cv;
        template &lt;class _T&gt; struct add_const;
        template &lt;class _T&gt; struct add_volatile;
        template &lt;class _T&gt; struct add_cv;
        template &lt;class _T&gt; struct remove_reference;
        template &lt;class _T&gt; struct add_reference;
        template &lt;class _T&gt; struct remove_pointer;
        template &lt;class _T&gt; struct add_pointer;
        template &lt;class _T&gt; struct remove_extent;
        template &lt;class _T&gt; struct remove_all_extents;
        template &lt;std::size_t _Len, std::size_t _Align&gt; struct aligned_storage;
    }
}
</code></pre>
<p>:xmas1: :xmas2:</p>
<p>Edit: Peinlich, falsch formattiert <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f62e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_open_mouth"
      title=":open_mouth:"
      alt="😮"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2158466</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2158466</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Sun, 18 Dec 2011 17:31:36 GMT</pubDate></item></channel></rss>