-
Nicolas "Pixel" Noble authored
By the standard, std::function can only capture class functions, and not class methods. For some reasons, this works under gcc however. Visual Studio rejects it. std::mem_fn is proper template to use.
Nicolas "Pixel" Noble authoredBy the standard, std::function can only capture class functions, and not class methods. For some reasons, this works under gcc however. Visual Studio rejects it. std::mem_fn is proper template to use.