^Schwienbacher I, Fendt M, Richardson R, Schnitzler HU. Temporary inactivation of the nucleus accumbens disrupts acquisition and expression of fear-potentiated startle in rats. Brain Res. 2004, 1027 (1–2): 87–93. PMID 15494160. doi:10.1016/j.brainres.2004.08.037.
^The Placebo Effect in the NAC
^Dopamine Involved In Aggression - Medical News Today
^Nucleus Accumbens
^The Journal of Neuroscience, 2001, 21:RC131:1-5 Synchronous Activity in the Hippocampus and Nucleus Accumbens In Vivo Yukiori Goto and Patricio O'Donnell
^Olds J, Milner P. Positive reinforcement produced by electrical stimulation of septal area and other regions of rat brain. J Comp Physiol Psychol. 1954, 47 (6): 419–27. PMID 13233369. doi:10.1037/h0058775. article
^Menon, Vinod & Levitin, Daniel J. (2005) The rewards of music listening: Response and physiological connectivity of themesolimbic system." NeuroImage 28(1), pp. 175-184
^Brain Electrodes Help Treat Depression, Technology Review, 26 April 2007
^http://www.eurekalert.org/pub_releases/2007-07/cp-brc071607.php Brain region central to placebo effect identified
查
论
编
大腦皮質解剖學
额叶
外上側
前額葉
上額回(英语:Superior frontal gyrus)
4(英语:Brodmann area 4)
6
8(英语:Brodmann area 8)
額中廻(英语:Middle frontal gyrus)
9(英语:Brodmann area 9)
10(英语:Brodmann area 10)
46
額下廻(英语:Inferior frontal gyrus):11(英语:Brodmann area 11)
47(英语:Brodmann area 47)-Pars orbitalis(英语:Orbital part of inferior frontal gyrus)
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.
...