How to Implement Tab Completion

The question was answered in the comments. Is tab completion a feature of the particular shell the application is being executed from? yes What are the basics I need to know about getting my application to support tab completion (particularly in C++)? basically learn more about bash-completion

Is using `std::get` on a `std::tuple` guaranteed to be thread-safe for different values of `I`?

Since std::get has no explicit statements in the specification about its data race properties, we fall back to the default behavior defined in [res.on.data.races]. Specifically, paragraphs 2 and 3 tell the story: A C++ standard library function shall not directly or indirectly access objects (1.10) accessible by threads other than the current thread unless the … Read more

Should I use Helgrind or DRD for thread error detection?

While Helgrind can detect locking order violations, for most programs DRD needs less memory to perform its analysis. Also, DRD has support for detached threads. There are more subtle differences too – compare the respective manuals if you want to know more. See also http://valgrind.org/docs/manual/hg-manual.html and http://valgrind.org/docs/manual/drd-manual.html.

Checkbox not visible on nodes of TreeView control when deployed in IIS

Not an answer yet, needed to show the images, well I tried the same, used this code in aspx: (I did not change any setting in IIS, nothing in aspx as well, created a plain solution >> added the treeview and deployed.) <asp:Content ID=”BodyContent” ContentPlaceHolderID=”MainContent” runat=”server”> <div> <asp:TreeView ID=”TreeTest” EnableClientScript=”true” PopulateNodesFromClient=”true” ExpandDepth=”0″ ShowLines=”true” ShowExpandCollapse=”true” ShowCheckBoxes=”Root” … Read more

Is it legal to declare a constexpr initializer_list object?

Update: The situation got a bit more complicated after the resolution of CWG DR 1684 removed the requirement quoted below. Some more information can be found in this discussion on the std-discussion mailing list and in the related question Why isn’t `std::initializer_list` defined as a literal type? [decl.constexpr]/8: A constexpr specifier for a non-static member … Read more

What is the purpose and usage of `memory_resource`?

A polymorphic_allocator is intended to let you have an allocator whose behavior is dynamically determined at runtime. The only way to create a polymorphic_allocator is: Default constructed, in which case it uses std::pmr::get_default_resource() return value, which is a memory_resource*. Pass it a memory_resource*. copy from another polymorphic_allocator. So the point of customization for a polymorphic_allocator … Read more