Skip to content
Snippets Groups Projects
Commit f007f7c3 authored by Danilo Piparo's avatar Danilo Piparo
Browse files

Modernise tutorial

parent 8e27ea4b
No related branches found
No related tags found
No related merge requests found
/// \file
/// \ingroup tutorial_cont
/// \notebook -nodraw
/// This is an example of using TList with STL algoritms in CINT.
/// This is an example of using TList with STL algoritms in CLING.
///
/// #### Output produced by `.x TListAndSTL.C`
/// \macro_output
......@@ -70,8 +70,7 @@ void TListAndSTL()
//->>>>>>> Example #1 <<<<<<<-
// running the std::for_each algorithm on the list
TIter iter(&list1);
for_each(iter.Begin(), TIter::End(), SEnumFunctor());
for_each(list1.begin(), list1.end(), SEnumFunctor());
//->>>>>>> Example #2 <<<<<<<-
// we can try to find something in the container
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment