<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" media="screen" href="/App_Themes/default/rss.xslt"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:evnet="http://www.mscommunities.com/rssmodule/"><channel><title>Entries tagged with stl - Channel 9</title><atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/tags/stl/feed/zune/default.aspx" /><image><url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url><title>Entries tagged with stl - Channel 9</title><link>http://channel9.msdn.com/tags/STL/</link></image><description>stl</description><link>http://channel9.msdn.com/tags/STL/</link><language>en-us</language><pubDate>Tue, 29 Sep 2009 00:49:43 GMT</pubDate><lastBuildDate>Tue, 29 Sep 2009 00:49:43 GMT</lastBuildDate><generator>EvNet (EvNet, Version=1.0.3608.3122, Culture=neutral, PublicKeyToken=null)</generator><item><title>Stephan T. Lavavej: Everything you ever wanted to know about nullptr</title><description>&lt;img src="http://ecn.channel9.msdn.com/o9/ch9/0/0/9/4/9/4/STLnullptrExplained_85_ch9.png" border="0" /&gt;&lt;p&gt;In C++, 0 is an abused integer. It is used to reflect, well, 0 as a value of type int and it is also used to represent a null pointer... The latter has led to many bugs and confusion over the past 30 years. Put simply, using 0 is and has always been a bad idea (then there's the NULL macro...). Well, my friends, today, with the release of &lt;a href="http://go.microsoft.com/fwlink/?LinkID=151797" target="_blank"&gt;Visual Studio 2010 Beta 2&lt;/a&gt; and the updated C++ language, compilers and libraries that come with it, the abuse of 0 comes to an end: Introducing nullptr the rvalue constant that actually &lt;b&gt;&lt;i&gt;is &lt;/i&gt;&lt;/b&gt;a null pointer literal. &lt;br /&gt;
&lt;br /&gt;
Who better to dig deep into nullptr (and a few other topics of related interest and importance) than the great and gifted Stephan T. Lavavej? Stephen is a C++ expert and library author who &lt;a href="http://channel9.msdn.com/tags/STL"&gt;you've met before a few times on C9&lt;/a&gt;. Sit back, relax and learn everything you ever wanted to know about nullptr. Thank you, Stephen, for the awesome lesson!&lt;br /&gt;
&lt;br /&gt;
Enjoy! &lt;br /&gt;
&lt;br /&gt;
VC Team Blog: &lt;a href="http://blogs.msdn.com/vcblog/default.aspx"&gt;http://blogs.msdn.com/vcblog/default.aspx&lt;/a&gt;&lt;/p&gt;&lt;img src="http://channel9.msdn.com/494900/WebViewBug.aspx?EVT=0" height="1" width="1" alt="" /&gt;</description><comments>http://channel9.msdn.com/shows/Going+Deep/Stephan-T-Lavavej-Everything-you-ever-wanted-to-know-about-nullptr/</comments><link>http://channel9.msdn.com/shows/Going+Deep/Stephan-T-Lavavej-Everything-you-ever-wanted-to-know-about-nullptr/</link><pubDate>Mon, 19 Oct 2009 16:39:00 GMT</pubDate><guid isPermaLink="false">http://ecn.channel9.msdn.com/o9/ch9/0/0/9/4/9/4/STLnullptrExplained_2MB_ch9.wmv</guid><evnet:views>29003</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/494900/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>&lt;p&gt;In C++, 0 is an abused integer. It is used to reflect, well, 0 as a value of type int and it is also used to represent a null pointer... The latter has led to many bugs and confusion over the past 30 years. Put simply, using 0 is and has always been a bad idea (then there's the NULL macro...). Well, my friends, today, with the release of &lt;a href="http://go.microsoft.com/fwlink/?LinkID=151797" target="_blank"&gt;Visual Studio 2010 Beta 2&lt;/a&gt; and the updated C++ language, compilers and libraries that come with it, the abuse of 0 comes to an end: Introducing nullptr the rvalue constant that actually &lt;b&gt;&lt;i&gt;is &lt;/i&gt;&lt;/b&gt;a null pointer literal. &lt;br /&gt;
&lt;br /&gt;
Who better to dig deep into nullptr (and a few other topics of related interest and importance) than the great and gifted Stephan T. Lavavej? Stephen is a C++ expert and library author who &lt;a href="http://channel9.msdn.com/tags/STL"&gt;you've met before a few times on C9&lt;/a&gt;. Sit back, relax and learn everything you ever wanted to know about nullptr. Thank you, Stephen, for the awesome lesson!&lt;/p&gt;</evnet:previewtext><media:thumbnail url="http://ecn.channel9.msdn.com/o9/ch9/0/0/9/4/9/4/STLnullptrExplained_320_ch9.png" height="240" width="320" /><media:thumbnail url="http://ecn.channel9.msdn.com/o9/ch9/0/0/9/4/9/4/STLnullptrExplained_85_ch9.png" height="64" width="85" /><media:group><media:content url="http://ecn.channel9.msdn.com/o9/ch9/0/0/9/4/9/4/STLnullptrExplained_ch9.mp4" expression="full" duration="3704" fileSize="641556314" type="video/mp4" medium="video" /><media:content url="http://ecn.channel9.msdn.com/o9/ch9/0/0/9/4/9/4/STLnullptrExplained_ch9.mp3" expression="full" duration="3704" fileSize="29634112" type="audio/mp3" medium="audio" /><media:content url="http://ecn.channel9.msdn.com/o9/ch9/0/0/9/4/9/4/STLnullptrExplained_ch9.mp4" expression="full" duration="3704" fileSize="641556314" type="video/mp4" medium="video" /><media:content isDefault="true" url="http://ecn.channel9.msdn.com/o9/ch9/0/0/9/4/9/4/STLnullptrExplained_ch9.wma" expression="full" duration="3704" fileSize="29960865" type="audio/x-ms-wma" medium="audio" /><media:content isDefault="true" url="http://ecn.channel9.msdn.com/o9/ch9/0/0/9/4/9/4/STLnullptrExplained_ch9.wmv" expression="full" duration="3704" fileSize="817353383" type="video/x-ms-wmv" medium="video" /><media:content url="http://ecn.channel9.msdn.com/o9/ch9/0/0/9/4/9/4/STLnullptrExplained_2MB_ch9.wmv" expression="full" duration="3704" fileSize="1118347661" type="video/x-ms-wmv" medium="video" /><media:content url="http://ecn.channel9.msdn.com/o9/ch9/0/0/9/4/9/4/STLnullptrExplained_Zune_ch9.wmv" expression="full" duration="3704" fileSize="524233369" type="video/x-ms-wmv" medium="video" /><media:content url="http://ecn.channel9.msdn.com/o9/ch9/0/0/9/4/9/4/STLnullptrExplained_512_ch9.png" expression="full" duration="3704" type="image/jpeg" medium="image" /><media:content url="http://ss.channel9.msdn.com/ch9/0/0/9/4/9/4/STLnullptrExplained.ism/Manifest" expression="full" duration="3704" type="video/x-ms-wmv" medium="video" /></media:group><enclosure url="http://ecn.channel9.msdn.com/o9/ch9/0/0/9/4/9/4/STLnullptrExplained_2MB_ch9.wmv" length="1118347661" type="video/x-ms-wmv" /><dc:creator>Charles</dc:creator><slash:comments>10</slash:comments><wfw:commentRss>http://channel9.msdn.com/shows/Going+Deep/Stephan-T-Lavavej-Everything-you-ever-wanted-to-know-about-nullptr/RSS/</wfw:commentRss><trackback:ping>http://channel9.msdn.com/494900/Trackback.aspx</trackback:ping><category>C++</category><category>C++0x</category><category>STL</category><category>Visual Studio 2010</category></item><item><title>VC 10: Stephan T. Lavavej and Damien Watkins - Inside STL</title><description>&lt;img src="http://mschnlnine.vo.llnwd.net/d1/ch9/8/0/4/7/6/4/InsideSTL10_small_ch9.png" border="0" /&gt;&lt;p&gt;&lt;a href="http://www.microsoft.com/visualstudio/products/2010/default.mspx" target="_blank"&gt;Visual Studio 2010 Beta 1&lt;/a&gt; introduces a number of exciting new features for the C++ developer as we include a selection of goodies from the upcoming C++0x Standard. We have already heard about many of the language improvements (auto, decltype, lambdas, rvalue references, …) all of which can be put to good use when using the Standard Template Library (STL). Here,  Visual C++ team members who work on the STL – Stephan (Dev), Damien (PM) and a cameo appearance by Usman (QA) – Usman works in our Canadian Development Center and unfortunately could not be onsite for the video - tell us all about the latest version of STL. We talk about how the language features are enabling many improvements to the STL, with performance being a big  beneficiary. To realize these benefits we needed to update our STL implementation to leverage these new techniques, for example adding “move” semantics to STL containers. Additionally  when users of our STL implementation add “move” semantics to their types that they store in our STL containers then we hook into these as well.&lt;/p&gt;
&lt;p&gt;Learn more:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/vcblog/archive/2009/04/22/decltype-c-0x-features-in-vc10-part-3.aspx"&gt;http://blogs.msdn.com/vcblog/archive/2009/04/22/decltype-c-0x-features-in-vc10-part-3.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/vcblog/archive/2009/02/03/rvalue-references-c-0x-features-in-vc10-part-2.aspx"&gt;http://blogs.msdn.com/vcblog/archive/2009/02/03/rvalue-references-c-0x-features-in-vc10-part-2.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/vcblog/archive/2008/10/28/lambdas-auto-and-static-assert-c-0x-features-in-vc10-part-1.aspx"&gt;http://blogs.msdn.com/vcblog/archive/2008/10/28/lambdas-auto-and-static-assert-c-0x-features-in-vc10-part-1.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;We did also mention lambdas, decltype, auto (and C++0x, generally) in a C9 PCP video from a while back:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://channel9.msdn.com/shows/Going+Deep/Parallel-Computing-in-Native-Code-New-Trends-and-Old-Friends/"&gt;http://channel9.msdn.com/shows/Going+Deep/Parallel-Computing-in-Native-Code-New-Trends-and-Old-Friends/&lt;/a&gt;&lt;/p&gt;&lt;img src="http://channel9.msdn.com/467408/WebViewBug.aspx?EVT=0" height="1" width="1" alt="" /&gt;</description><comments>http://channel9.msdn.com/shows/Going+Deep/VC-10-Stephan-T-Lavavej-and-Damien-Watkins-Inside-STL/</comments><link>http://channel9.msdn.com/shows/Going+Deep/VC-10-Stephan-T-Lavavej-and-Damien-Watkins-Inside-STL/</link><pubDate>Thu, 21 May 2009 15:43:00 GMT</pubDate><guid isPermaLink="false">http://mschnlnine.vo.llnwd.net/d1/ch9/8/0/4/7/6/4/InsideSTL10_2MB_ch9.wmv</guid><evnet:views>78920</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/467408/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Visual Studio 2010 Beta 1 introduces a number of exciting new features for the C++ developer as we include a selection of goodies from the upcoming C++0x Standard. We have already heard about many of the language improvements (auto, decltype, lambdas, rvalue references, …) all of which can be put to good use when using the Standard Template Library (STL). Here,  Visual C++ team members who work on the STL – Stephan (Dev), Damien (PM) and a cameo appearance by Usman (QA) – Usman works in our Canadian Development Center and unfortunately could not be onsite for the video - tell us all about the latest version of STL. We talk about how the language features are enabling many improvements to the STL, with performance being a big  beneficiary. To realize these benefits we needed to update our STL implementation to leverage these new techniques, for example adding “move” semantics to STL containers. Additionally  when users of our STL implementation add “move” semantics to their types that they store in our STL containers then we hook into these as well.</evnet:previewtext><media:thumbnail url="http://mschnlnine.vo.llnwd.net/d1/ch9/8/0/4/7/6/4/InsideSTL10_large_ch9.png" height="240" width="320" /><media:thumbnail url="http://mschnlnine.vo.llnwd.net/d1/ch9/8/0/4/7/6/4/InsideSTL10_small_ch9.png" height="64" width="85" /><media:group><media:content url="http://mschnlnine.vo.llnwd.net/d1/ch9/8/0/4/7/6/4/InsideSTL10_ch9.mp4" expression="full" duration="3593" fileSize="354411656" type="video/mp4" medium="video" /><media:content url="http://mschnlnine.vo.llnwd.net/d1/ch9/8/0/4/7/6/4/InsideSTL10_ch9.mp3" expression="full" duration="3593" fileSize="28749733" type="audio/mp3" medium="audio" /><media:content url="http://mschnlnine.vo.llnwd.net/d1/ch9/8/0/4/7/6/4/InsideSTL10_ch9.mp4" expression="full" duration="3593" fileSize="354411656" type="video/mp4" medium="video" /><media:content isDefault="true" url="http://mschnlnine.vo.llnwd.net/d1/ch9/8/0/4/7/6/4/InsideSTL10_ch9.wma" expression="full" duration="3593" fileSize="58132389" type="audio/x-ms-wma" medium="audio" /><media:content isDefault="true" url="http://mschnlnine.vo.llnwd.net/d1/ch9/8/0/4/7/6/4/InsideSTL10_ch9.wmv" expression="full" duration="3593" fileSize="217627001" type="video/x-ms-wmv" medium="video" /><media:content url="http://mschnlnine.vo.llnwd.net/d1/ch9/8/0/4/7/6/4/InsideSTL10_2MB_ch9.wmv" expression="full" duration="3593" fileSize="1124731503" type="video/x-ms-wmv" medium="video" /><media:content url="http://mschnlnine.vo.llnwd.net/d1/ch9/8/0/4/7/6/4/InsideSTL10_Zune_ch9.wmv" expression="full" duration="3593" fileSize="506762981" type="video/x-ms-wmv" medium="video" /></media:group><enclosure url="http://mschnlnine.vo.llnwd.net/d1/ch9/8/0/4/7/6/4/InsideSTL10_2MB_ch9.wmv" length="1124731503" type="video/x-ms-wmv" /><dc:creator>Charles</dc:creator><slash:comments>31</slash:comments><wfw:commentRss>http://channel9.msdn.com/shows/Going+Deep/VC-10-Stephan-T-Lavavej-and-Damien-Watkins-Inside-STL/RSS/</wfw:commentRss><trackback:ping>http://channel9.msdn.com/467408/Trackback.aspx</trackback:ping><category>C++</category><category>Programming Languages</category><category>STL</category></item><item><title>STL Iterator Debugging and Secure SCL</title><description>&lt;img src="http://channel9.msdn.com/Link/309e96de-5209-4d37-a646-cdd56efaf2d3/" border="0" /&gt;&lt;p&gt;The Visual C++ runtime library now detects incorrect iterator use and will assert and display a dialog box at run time. To enable debug iterator support, a program must be compiled with a debug version of a C run time library (see &lt;a href="http://msdn.microsoft.com/en-us/library/abx4dbyh(VS.80).aspx" id="ctl00_rs1_mainContentContainer_ctl01"&gt;C Run-Time Libraries&lt;/a&gt; for more information).&lt;/p&gt;
&lt;p&gt;See &lt;a href="http://msdn.microsoft.com/en-us/library/aa985965(VS.80).aspx" id="ctl00_rs1_mainContentContainer_ctl02"&gt;Checked Iterators&lt;/a&gt; for more information on using iterators.&lt;/p&gt;
&lt;p&gt;The C++ standard describes which member functions cause iterators to a container to become invalid. Two examples are:&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;
    &lt;p&gt;Erasing an element from a container causes iterators to the element to become invalid.&lt;/p&gt;
    &lt;/li&gt;
    &lt;li&gt;
    &lt;p&gt;Increasing the size of a &lt;b&gt;vector&lt;/b&gt; (push or insert) causes iterators into the &lt;b&gt;vector&lt;/b&gt; container become invalid.&lt;/p&gt;
    &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Here, VC++ Software Engineer Stephan T. Lavavej digs into the details of &lt;a href="http://msdn.microsoft.com/en-us/library/aa985982(VS.80).aspx" title="STL Iterator Debugging" target="_blank"&gt;STL Iterator Debugging&lt;/a&gt; including its implementation, usage scenarios and interesting facts you may not find anywhere else (Channel 9 goodness). Stephan is known as STL (this is his name's acronym, by coincidence or perhaps it's simply prophetic since Stephan is a passionate advocate for STL, as you will no doubt understand after watching and listening to this conversation). Stephan also dives a bit into Secure SCL, which is part of the VC++ Safe Libraries. &lt;br /&gt;
&lt;br /&gt;
Stephan does not possess a marketing bone in his body as you can tell by his commentary that's weaved into his informal presentation of advanced topics. I love this. He speaks his mind freely, though with fairness, and that's the only way to be. &lt;br /&gt;
&lt;br /&gt;
Enjoy!&lt;/p&gt;&lt;img src="http://channel9.msdn.com/409367/WebViewBug.aspx?EVT=0" height="1" width="1" alt="" /&gt;</description><comments>http://channel9.msdn.com/shows/Going+Deep/STL-Iterator-Debugging-and-Secure-SCL/</comments><link>http://channel9.msdn.com/shows/Going+Deep/STL-Iterator-Debugging-and-Secure-SCL/</link><pubDate>Mon, 16 Jun 2008 17:28:00 GMT</pubDate><guid isPermaLink="false">http://mschnlnine.vo.llnwd.net/d1/ch9/7/6/3/9/0/4/STLIteratorDebugging_2MB_ch9.wmv</guid><evnet:views>30689</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/409367/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Here, VC++ Software Engineer Stephan T. Lavavej digs into the details of STL Iterator Debugging including its implementation, usage scenarios and interesting facts you may not find anywhere else (Channel 9 goodness). Stephan is known as STL (this is his name's acronym, by coincidence or perhaps it's simply prophetic since Stephan is a passionate advocate for STL, as you will no doubt understand after watching and listening to this conversation). Stephan also dives a bit into Secure SCL, which is part of the VC++ Safe Libraries.</evnet:previewtext><media:thumbnail url="http://channel9.msdn.com/Link/88625021-4b92-426c-b3c0-c6b5faa5fc6e/" height="240" width="320" /><media:thumbnail url="http://channel9.msdn.com/Link/309e96de-5209-4d37-a646-cdd56efaf2d3/" height="64" width="85" /><media:group><media:content url="http://mschnlnine.vo.llnwd.net/d1/ch9/7/6/3/9/0/4/STLIteratorDebugging_ch9.mp4" expression="full" duration="2856" fileSize="162116319" type="video/mp4" medium="video" /><media:content url="http://mschnlnine.vo.llnwd.net/d1/ch9/7/6/3/9/0/4/STLIteratorDebugging_ch9.mp3" expression="full" fileSize="22855471" type="audio/mp3" medium="audio" /><media:content url="http://mschnlnine.vo.llnwd.net/d1/ch9/7/6/3/9/0/4/STLIteratorDebugging_ch9.mp4" expression="full" duration="2856" fileSize="162116319" type="video/mp4" medium="video" /><media:content isDefault="true" url="http://mschnlnine.vo.llnwd.net/d1/ch9/7/6/3/9/0/4/STLIteratorDebugging_ch9.wma" expression="full" fileSize="23111829" type="audio/x-ms-wma" medium="audio" /><media:content isDefault="true" url="http://mschnlnine.vo.llnwd.net/d1/ch9/7/6/3/9/0/4/STLIteratorDebugging_ch9.wmv" expression="full" duration="2856" fileSize="177281339" type="video/x-ms-wmv" medium="video" /><media:content url="http://mschnlnine.vo.llnwd.net/d1/ch9/7/6/3/9/0/4/STLIteratorDebugging_2MB_ch9.wmv" expression="full" duration="2856" fileSize="894167081" type="video/x-ms-wmv" medium="video" /><media:content url="http://mschnlnine.vo.llnwd.net/d1/ch9/7/6/3/9/0/4/STLIteratorDebugging_Zune_ch9.wmv" expression="full" duration="2856" fileSize="226454647" type="video/x-ms-wmv" medium="video" /></media:group><enclosure url="http://mschnlnine.vo.llnwd.net/d1/ch9/7/6/3/9/0/4/STLIteratorDebugging_2MB_ch9.wmv" length="894167081" type="video/x-ms-wmv" /><dc:creator>Charles</dc:creator><slash:comments>9</slash:comments><wfw:commentRss>http://channel9.msdn.com/shows/Going+Deep/STL-Iterator-Debugging-and-Secure-SCL/RSS/</wfw:commentRss><trackback:ping>http://channel9.msdn.com/409367/Trackback.aspx</trackback:ping><category>C++</category><category>Secure SCL</category><category>STL</category></item></channel></rss>