3 Topics

Member Avatar for
Member Avatar for Alxprog

Hi! Have anybody seen Scot Meyers' video on Universal references? In order for a reference to be "universal" two requirements should be fulfilled : 1)variable should have double ampersand after it's type : sometype&& 2) the type should be deduced . The second point is somewhat confusing to me: despite …

Member Avatar for mike_2000_17
0
314
Member Avatar for Labdabeta

I have a function that takes a reference to an interface class as a parameter. I have created a derived class from the interface class, but when I try to call the function with an instance of my derived class as an argument I get a compiler error saying "error: …

Member Avatar for Labdabeta
0
144
Member Avatar for bio-grad

Basically I am reformatting a list that looks like this ko10101 K01392 K09134 ko34231 K05789 ko13452 K04665 K07881 into a csv file that looks like this: ko10101\tK01392 ko10101\tK01392 ko10101\tK09134 ko34231\tK05789 ko13452\tK04665 ko13452\tK07881 [code]while (<OUT>) { my $line = $_; chomp; if ($line =~ /^$/) { next; } elsif ($line =~ …

Member Avatar for bio-grad
0
134

The End.