Browse by Tags

Tagged Content List
  • Blog Post: Compiler Bugs Fixed In Visual Studio 2012

    Following STL Bugs Fixed In Visual Studio 2012 , here are similar lists for the compiler front-end (responsible for parsing C++)... ID Title 599151 Using declaration for a name of a type does not work in MS C++ compilers 603872 Support for XML Documentation in native...
  • Blog Post: Container Pretty Printer - Advanced STL, Part 6

    In Part 6 of my second video lecture series focused on the Standard Template Library, I demonstrate how to write a "pretty printer" for STL containers that's capable of formatting a vector<tuple<int, string, int>> as [(1, "ten", 100), (2, "twenty", 200), (3, "thirty", 300)]. It's easy to...
  • Blog Post: The Visual C++ Weekly Vol. 1 Issue 22 (May 28, 2011)

    Read in this issue : Enforcing Correct Concurrent Access of Class Data DirectCompute Lecture Series 230: GPU Accelerated Physics InformIT: Top Ten Tips for Correct C++ Coding ACCU 2011: Michael Feathers On Our Ability To Do Much Mixed-mode scenario with tracking handles to value types...
  • Blog Post: _ITERATOR_DEBUG_LEVEL - Advanced STL, Part 3

    In Part 3 of my video lecture series exploring the Standard Template Library's implementation, I explain how our powerful correctness checks in debug mode work. In VC10, they're controlled by the macro _ITERATOR_DEBUG_LEVEL, which supersedes VC8 and VC9's more confusing _SECURE_SCL and _HAS_ITERATOR_DEBUGGING...
  • Blog Post: Algorithm Optimizations - Advanced STL, Part 2

    Part 2 of my video lecture series exploring the Standard Template Library's implementation is now available. In this part, I walk through how our STL algorithms equal() and copy() use template metaprogramming to detect when it's safe to call memcmp() and memmove(), which are potentially faster than the...
  • Blog Post: shared_ptr - Advanced STL, Part 1

    Part 1 of my video lecture series exploring the Standard Template Library's implementation is now available. In this part, I explain how some of shared_ptr's magic works, including type erasure and make_shared<T>()'s optimizations that save both space and time. This advanced series assumes...
  • Blog Post: Rvalue References and Type Traits - Video Introduction to the STL, Parts 9 and 10

    The final parts of my video lecture series introducing the Standard Template Library are now available. Part 9 covers a single function, std::move() , and explains how rvalue references power move semantics. Part 10 covers <type_traits>, a header added by TR1/C++0x, and explains the basics of template...
  • Blog Post: Regular Expressions - Video Introduction to the STL, Part 8

    C++0x's <regex> header combines Perl's regular expressions with C++'s templates and iterators. The result, like the rest of the STL, is insanely powerful but potentially overwhelming at first sight. It's actually easy to use, and much easier than writing string processing code by hand. I demonstrate...
  • Blog Post: Video Introduction to the STL, Parts 6 and 7

    Part 6 and Part 7 of my video lecture series introducing the Standard Template Library are now available; they cover algorithms and functors. Previous parts: Part 1 (sequence containers) Part 2 (associative containers) Part 3 (smart pointers) Part 4 ( Nurikabe solver introduction...
  • Blog Post: Video Introduction to the STL, Part 5

    In the fifth part of my video lecture series introducing the Standard Template Library, I explain how the advanced analysis in my Nurikabe solver works. One of its steps involves using a breadth-first search to detect any unreachable cells. Mandatory prerequisites of Part 5 are reading Wikipedia...
  • Blog Post: Video Introduction to the STL, Part 4

    In the fourth part of my video lecture series introducing the Standard Template Library, I walk through an extended example of using the STL to solve Nurikabe puzzles. It assumes that you've read Wikipedia's Nurikabe page, and that you've watched Part 1 (sequence containers), Part 2 (associative containers...
  • Blog Post: Video Introduction to the STL, Part 3

    The third part of my video lecture series introducing the Standard Template Library is now available, following Part 1 and Part 2 . Part 3 covers unique_ptr , shared_ptr , and exception handling (briefly). It explains my solution to the container erasure problem, and presents a significantly larger homework...
  • Blog Post: The Filterator

    My name is Ahmed Charles and I currently work on Windows Error Reporting. I believe that this is the first time that someone not on the VC team has written a blog, but I hope you will find it useful anyways. I’d like to thank Stephan T. Lavavej for the idea and valuable feedback while writing it...
  • Blog Post: Video Introduction to the STL, Part 2

    The second part of my video lecture series introducing the Standard Template Library is now available. This part covers the STL's associative containers and the erase-remove idiom. It assumes that you've watched Part 1 . More parts are on their way! Let me know in the comments what you'd like to...
  • Blog Post: Video Introduction to the STL, Part 1

    I recently recorded the first part of a video lecture series introducing the Standard Template Library. It assumes familiarity with C++, but begins with the STL basically from scratch. Channel 9 hooked up my laptop so I could write, compile, and execute code as I went along. Check it out here: http:...
  • Blog Post: C++0x Core Language Features In VC10: The Table

    When we announced that the Visual Studio 2010 Release Candidate Is Now Available For Download , a reader, Igor, asked us to provide a table summarizing which C++0x Core Language features are implemented in VC10. So, here it is! It's derived from, but slightly modified from, GCC's tables. For example...
  • Blog Post: VC++ Developer Survey

    As we wrap up Visual Studio 2010, we are starting to plan the next release of Visual C++. Our goal is to make Visual C++ a product that meets your needs. Thus we need your help. We would like to better understand what you do. Please take a few minutes and answer the survey below. The survey is...
  • Blog Post: Channel 9 Video: Stephan T. Lavavej - Everything you ever wanted to know about nullptr

    Stephan T. Lavavej is back in front of the Channel 9 cameras once again for a discussion on our recently implemented C++0x feature “nullptr”. In a previous channel 9 appearance , Stephan spoke about the C++0x language and library features we were implementing for VS2010 and the various interdependencies...
  • Blog Post: The Mallocator

    A common question from programmers who have an intermediate amount of experience with using the STL is, "How do I write an STL allocator?". Writing an STL allocator is not especially difficult - only two member functions are interesting, allocate() and deallocate(). However, STL allocators must satisfy...
  • Blog Post: Channel 9 video: STL Iterator Debugging and Secure SCL - Stephan T. Lavavej

    Hello Stephan has just completed his latest channel 9 video, this one on debugging in our implementation of the STL: http://channel9.msdn.com/shows/Going+Deep/STL-Iterator-Debugging-and-Secure-SCL/ . This topic gets a little confusing as we have two technologies available here, namely Iterator Debugging...
  • Blog Post: Channel 9: Ale Contenti and Louis Lafreniere - Understanding Exceptions and When/How to Handle Them

    During Ale Contenti's first Channel 9 video ( VC++ Safe Libraries and More ) he was asked how the Safe CRT worked with exceptions. This was a great question, but too much to handle at the time. Ale suggested the topic was worth a whole other video...and so here it is! Ale is joined in this video by Louis...
  • Blog Post: What Compiler Does the Compiler Team Use...and Decoding Version Numbers

    Hi: Jonathan Caves here. Recently I received some queries from users wanting to know what version of the Visual C++ compiler I use in my daily work. Well...that’s not really a simple question as I tend to use several different versions of the compiler. <aside> Before I proceed a little...
  • Blog Post: Visual C++ Code Model

    Hi, my name is Vytautas Leonavičius, and I'm recent addition to VC++ IDE dev team. My focus areas are VC Wizards and VC++ Code Model (CM). Today, I’d like to talk about future of the CM. In a sentence (actually, two sentences J ), the VC++ CM is a collection of classes that allows a client to get...
  • Blog Post: The Future of the C++ Language

    Hello, world! Today, I (Stephan T. Lavavej, library dev) would like to present one question and one Orcas bugfix. First, the question: What is the future of C++? Or, phrased crudely, does C++ have a future? Will it grow and evolve, with programmers using it in new application domains and finding...
  • Blog Post: MFC Updates for Vista Common Controls

    MFC has been updated for Visual Studio codename Orcas to handle the new common controls/messages/flags added in Windows Vista. We have made a number of updates to MFC to wrap the new controls and messages, so when you’re using these new capabilities, MFC will make it easier to code them. Three...
Page 1 of 2 (27 items) 12