Kidwell, M.G. Transposable elements. (编) T.R. Gregory. The Evolution of the Genome. San Diego: Elsevier. 2005: 165–221. ISBN 0-123-01463-8.
Craig NL, Craigie R, Gellert M, and Lambowitz AM (编). Mobile DNA II. Washington, DC: ASM Press. 2002. ISBN 978-1-555-81209-6.
Lewin B. Genes VII. Oxford University Press. 2000. ISBN 978-0-198-79276-5.
外部連結
An immune system so versatile it might kill you. New Scientist. 21 June 2006, (2556). – A possible connection between aberrant reinsertions and lymphoma.
Repbase – a database of transposable element sequences
RepeatMasker – a computer program used by computational biologists to annotate transposons in DNA sequences
Use of the Sleeping Beauty Transposon System for Stable Gene Expression in Mouse Embryonic Stem Cells
10
1
I have a function that searches a vector of iterators and returns the iterator if its names matches a string passed as an argument. koalaGraph::PVertex lookUpByName(std::string Name, std::vector<koalaGraph::PVertex>& Vertices) { for (size_t i = 0; i < Vertices.size(); i++) { if(Vertices[i]->info.name == Name) return Vertices[i]; } } My question is how can I implement this as a lambda, to use it in connection with std::find_if ? I'm trying this: std::vector<koalaGraph::PVertex> V; std::string Name; std::find_if(V.begin(), V.end(), [&Name]() {return Name == V->info.name;}) But it says that V an enclosing-function local variable cannot be referenced in a lambda body unless it is in the capture list.
...