Transparent Operator Functors

The transparent operator functors proposal is there as a way to have generalised functors that are located in <functional>. I personally believe the proposal itself has a very good example that would help illustrate the need for it. However I’ll go ahead and try to explain it as well. Suppose you have a function, a … Read more

After installing “Visual Studio Extensions for Windows Library for JavaScript” update, it still appears as an available update

Try this workaround: http://connect.microsoft.com/VisualStudio/feedback/details/847258/vs2013-keep-saying-windows-library-for-javascript-needs-updating-1-0-9651-40228 Get “msiinv” from here: http://blogs.msdn.com/b/astebner/archive/2005/07/01/using-msiinv-to-gather-information-about-what-is-installed-on-a-computer.aspx Run msiinv.exe -p > out.txt Open “out.txt” and find “Visual Studio Extensions for Windows Library for JavaScript”. There should be two of them, one with version 1.x and second with version 2.1. Lookup the product code for v1.x and uninstall it using msiexec /x. For me, … Read more

Why has a lambda with no capture changed from a static in C# 5 to an instance method in C# 6?

Roslyn (the C# compiler used by VS 2015) changed all lambda methods to non-static methods, whether they capture variables or not. See Delegate caching behavior changes in Roslyn. As I explain, this is an allowed behavior because anonymous methods (like those at issue here) that don’t capture variables have fewer lifetime requirements than those that … Read more

ReSharper function shows “Files still read-only”

Change a value to None for “Current source control plug-in:” combobox here Tools | Options | Source Control | Plugin Selection. It seems as if “Microsoft Git provider” is selected there now. And it is a known issue due to a bug in “Microsoft Git provider” shipped with VS 2013. [August 2022] Update for users … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)